kubernetes/vendor/sigs.k8s.io/structured-merge-diff/v4/fieldpath/serialize.go

func (s *Set) ToJSON() ([]byte, error) {}

func (s *Set) ToJSONStream(w io.Writer) error {}

func manageMemory(stream *jsoniter.Stream) error {}

type reusableBuilder

func (r *reusableBuilder) unsafeString() string {}

func (r *reusableBuilder) reset() *bytes.Buffer {}

func (s *Set) emitContentsV1(includeSelf bool, stream *jsoniter.Stream, r *reusableBuilder) error {}

// FromJSON clears s and reads a JSON formatted set structure.
func (s *Set) FromJSON(r io.Reader) error {}

// returns true if this subtree is also (or only) a member of parent; s is nil
// if there are no further children.
func readIterV1(iter *jsoniter.Iterator) (children *Set, isMember bool) {}