MCPcopy Index your code
hub / github.com/segmentio/encoding / NewDecoder

Function NewDecoder

json/json.go:368–368  ·  view source on GitHub ↗

NewDecoder is documented at https://golang.org/pkg/encoding/json/#NewDecoder

(r io.Reader)

Source from the content-addressed store, hash-verified

366
367// NewDecoder is documented at https://golang.org/pkg/encoding/json/#NewDecoder
368func NewDecoder(r io.Reader) *Decoder { return &Decoder{reader: r} }
369
370// Buffered is documented at https://golang.org/pkg/encoding/json/#Decoder.Buffered
371func (dec *Decoder) Buffered() io.Reader {

Callers 13

TestIssue18Function · 0.92
BenchmarkCodeDecoderFunction · 0.70
BenchmarkUnicodeDecoderFunction · 0.70
BenchmarkDecoderStreamFunction · 0.70
TestUnmarshalFunction · 0.70
TestEmptyStringFunction · 0.70
TestStringTagFunction · 0.70
TestCodecFunction · 0.70
TestCodecDurationFunction · 0.70
TestDecodeLinesFunction · 0.70
TestDecoderInputOffsetFunction · 0.70

Calls

no outgoing calls

Tested by 13

TestIssue18Function · 0.74
BenchmarkCodeDecoderFunction · 0.56
BenchmarkUnicodeDecoderFunction · 0.56
BenchmarkDecoderStreamFunction · 0.56
TestUnmarshalFunction · 0.56
TestEmptyStringFunction · 0.56
TestStringTagFunction · 0.56
TestCodecFunction · 0.56
TestCodecDurationFunction · 0.56
TestDecodeLinesFunction · 0.56
TestDecoderInputOffsetFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…