kubernetes/vendor/sigs.k8s.io/json/internal/golang/encoding/json/kubernetes_patch.go

type UnmarshalTypeError

type UnmarshalFieldError

type InvalidUnmarshalError

type Number

type RawMessage

type Token

type Delim

type UnmarshalOpt

func UseNumber(d *decodeState) {}

func DisallowUnknownFields(d *decodeState) {}

// CaseSensitive requires json keys to exactly match specified json tags (for tagged struct fields)
// or struct field names (for untagged struct fields), or be treated as an unknown field.
func CaseSensitive(d *decodeState) {}

func (d *Decoder) CaseSensitive() {}

// PreserveInts decodes numbers as int64 when decoding to untyped fields,
// if the JSON data does not contain a "." character, parses as an integer successfully,
// and does not overflow int64. Otherwise, it falls back to default float64 decoding behavior.
//
// If UseNumber is also set, it takes precedence over PreserveInts.
func PreserveInts(d *decodeState) {}

func (d *Decoder) PreserveInts() {}

// DisallowDuplicateFields treats duplicate fields encountered while decoding as an error.
func DisallowDuplicateFields(d *decodeState) {}

func (d *Decoder) DisallowDuplicateFields() {}

func (d *decodeState) newFieldError(errType strictErrType, field string) *strictError {}

// saveStrictError saves a strict decoding error,
// for reporting at the end of the unmarshal if no other errors occurred.
func (d *decodeState) saveStrictError(err *strictError) {}

func (d *decodeState) appendStrictFieldStackKey(key string) {}

func (d *decodeState) appendStrictFieldStackIndex(i int) {}

type strictErrType

const unknownStrictErrType

const duplicateStrictErrType

type strictError

func (e *strictError) Error() string {}

func (e *strictError) FieldPath() string {}

func (e *strictError) SetFieldPath(path string) {}

type UnmarshalStrictError

func (e *UnmarshalStrictError) Error() string {}