MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / TTNDecoder

Struct TTNDecoder

pkg/jsonpb/ttn.go:152–155  ·  view source on GitHub ↗

TTNDecoder reads JSON data from an io.Reader and unmarshals that into values.

Source from the content-addressed store, hash-verified

150
151// TTNDecoder reads JSON data from an io.Reader and unmarshals that into values.
152type 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.
158func (d *TTNDecoder) Decode(v any) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected