MCPcopy
hub / github.com/golang/protobuf / UnmarshalNext

Function UnmarshalNext

jsonpb/decode.go:28–30  ·  view source on GitHub ↗

UnmarshalNext unmarshals the next JSON object from d into m.

(d *json.Decoder, m proto.Message)

Source from the content-addressed store, hash-verified

26
27// UnmarshalNext unmarshals the next JSON object from d into m.
28func UnmarshalNext(d *json.Decoder, m proto.Message) error {
29 return new(Unmarshaler).UnmarshalNext(d, m)
30}
31
32// Unmarshal unmarshals a JSON object from r into m.
33func Unmarshal(r io.Reader, m proto.Message) error {

Callers

nothing calls this directly

Calls 1

UnmarshalNextMethod · 0.80

Tested by

no test coverage detected