MCPcopy Create free account
hub / github.com/blues/note / NewDecoder

Function NewDecoder

jsonxt/stream.go:35–37  ·  view source on GitHub ↗

NewDecoder returns a new decoder that reads from r. The decoder introduces its own buffering and may read data from r beyond the JSON values requested.

(r io.Reader)

Source from the content-addressed store, hash-verified

33// The decoder introduces its own buffering and may
34// read data from r beyond the JSON values requested.
35func NewDecoder(r io.Reader) *Decoder {
36 return &Decoder{r: r}
37}
38
39// UseNumber causes the Decoder to unmarshal a number into an interface{} as a
40// Number instead of as a float64.

Callers 2

BulkDecodeNextEntryMethod · 0.92
parseORIGTemplateFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected