MCPcopy Create free account
hub / github.com/go-json-experiment/json / NewDecoder

Function NewDecoder

jsontext/decode.go:122–126  ·  view source on GitHub ↗

NewDecoder constructs a new streaming decoder reading from r. If r is a [bytes.Buffer], then the decoder parses directly from the buffer without first copying the contents to an intermediate buffer. Additional writes to the buffer must not occur while the decoder is in use.

(r io.Reader, opts ...Options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…