TTNDecoder reads JSON data from an io.Reader and unmarshals that into values.
| 150 | |
| 151 | // TTNDecoder reads JSON data from an io.Reader and unmarshals that into values. |
| 152 | type TTNDecoder struct { |
| 153 | d *json.Decoder |
| 154 | inner *runtime.JSONPb |
| 155 | } |
| 156 | |
| 157 | // Decode reads a value from the reader and unmarshals v from JSON. |
| 158 | func (d *TTNDecoder) Decode(v any) error { |
nothing calls this directly
no outgoing calls
no test coverage detected