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

Method MarshalJSONPB

jsonpb/encode.go:63–63  ·  view source on GitHub ↗
(*Marshaler)

Source from the content-addressed store, hash-verified

61// Deprecated: Custom types should implement protobuf reflection instead.
62type JSONPBMarshaler interface {
63 MarshalJSONPB(*Marshaler) ([]byte, error)
64}
65
66// Marshal serializes a protobuf message as JSON into w.

Callers 2

marshalMethod · 0.65
marshalMessageMethod · 0.65

Implementers 1

dynamicMessagejsonpb/json_test.go

Calls

no outgoing calls

Tested by

no test coverage detected