DecoderWrapper is a wrapper around a *json.Decoder that adds support for protos to the Decode method.
| 179 | // DecoderWrapper is a wrapper around a *json.Decoder that adds |
| 180 | // support for protos to the Decode method. |
| 181 | type DecoderWrapper struct { |
| 182 | *json.Decoder |
| 183 | protojson.UnmarshalOptions |
| 184 | } |
| 185 | |
| 186 | // Decode wraps the embedded decoder's Decode method to support |
| 187 | // protos using a jsonpb.Unmarshaler. |
nothing calls this directly
no outgoing calls
no test coverage detected