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

Method ReadToken

jsontext/decode.go:468–470  ·  view source on GitHub ↗

ReadToken reads the next [Token], advancing the read offset. The returned token is only valid until the next Peek, Read, or Skip call. It returns [io.EOF] if there are no more tokens.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

BenchmarkInternFunction · 0.95
mustDecodeTokensFunction · 0.95
testCoderInterleavedFunction · 0.95
TestCoderStackPointerFunction · 0.95
TestCoderMaxDepthFunction · 0.95
testDecoderFunction · 0.95
testFaultyDecoderFunction · 0.95
testDecoderErrorsFunction · 0.95
TestBufferDecoderFunction · 0.95
TestBlockingDecoderFunction · 0.95
TestPeekableDecoderFunction · 0.95
FuzzCoderFunction · 0.95

Calls

no outgoing calls

Tested by 15

BenchmarkInternFunction · 0.76
mustDecodeTokensFunction · 0.76
testCoderInterleavedFunction · 0.76
TestCoderStackPointerFunction · 0.76
TestCoderMaxDepthFunction · 0.76
testDecoderFunction · 0.76
testFaultyDecoderFunction · 0.76
testDecoderErrorsFunction · 0.76
TestBufferDecoderFunction · 0.76
TestBlockingDecoderFunction · 0.76
TestPeekableDecoderFunction · 0.76
FuzzCoderFunction · 0.76