kubernetes/vendor/github.com/golang/protobuf/jsonpb/decode.go

const wrapJSONUnmarshalV2

// UnmarshalNext unmarshals the next JSON object from d into m.
func UnmarshalNext(d *json.Decoder, m proto.Message) error {}

// Unmarshal unmarshals a JSON object from r into m.
func Unmarshal(r io.Reader, m proto.Message) error {}

// UnmarshalString unmarshals a JSON object from s into m.
func UnmarshalString(s string, m proto.Message) error {}

type Unmarshaler

type JSONPBUnmarshaler

// Unmarshal unmarshals a JSON object from r into m.
func (u *Unmarshaler) Unmarshal(r io.Reader, m proto.Message) error {}

// UnmarshalNext unmarshals the next JSON object from d into m.
func (u *Unmarshaler) UnmarshalNext(d *json.Decoder, m proto.Message) error {}

func (u *Unmarshaler) unmarshalMessage(m protoreflect.Message, in []byte) error {}

func isSingularWellKnownValue(fd protoreflect.FieldDescriptor) bool {}

func isSingularJSONPBUnmarshaler(v protoreflect.Value, fd protoreflect.FieldDescriptor) bool {}

func (u *Unmarshaler) unmarshalValue(v protoreflect.Value, in []byte, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) {}

var nonFinite

func (u *Unmarshaler) unmarshalSingularValue(v protoreflect.Value, in []byte, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) {}

func unmarshalValue(in []byte, v interface{}

func unquoteString(in string) (out string, err error) {}

func hasPrefixAndSuffix(prefix byte, in []byte, suffix byte) bool {}

// trimQuote is like unquoteString but simply strips surrounding quotes.
// This is incorrect, but is behavior done by the legacy implementation.
func trimQuote(in []byte) []byte {}