JSONBuiltin is a Marshaler which marshals/unmarshals into/from JSON with the standard "encoding/json" package of Golang. Although it is generally faster for simple proto messages than JSONPb, it does not support advanced features of protobuf, e.g. map, oneof, .... The NewEncoder and NewDecoder type
| 13 | // The NewEncoder and NewDecoder types return *json.Encoder and |
| 14 | // *json.Decoder respectively. |
| 15 | type JSONBuiltin struct{} |
| 16 | |
| 17 | // ContentType always Returns "application/json". |
| 18 | func (*JSONBuiltin) ContentType(_ interface{}) string { |
nothing calls this directly
no outgoing calls
no test coverage detected