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

Method ReadValue

jsontext/decode.go:676–679  ·  view source on GitHub ↗

ReadValue returns the next raw JSON value, advancing the read offset. The value is stripped of any leading or trailing whitespace and contains the exact bytes of the input, which may contain invalid UTF-8 if [AllowInvalidUTF8] is specified. The returned value is only valid until the next Peek, Read

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testCoderInterleavedFunction · 0.95
TestCoderMaxDepthFunction · 0.95
testDecoderFunction · 0.95
testFaultyDecoderFunction · 0.95
testDecoderErrorsFunction · 0.95
TestResumableDecoderFunction · 0.95
TestBlockingDecoderFunction · 0.95
TestPeekableDecoderFunction · 0.95
TestDecoderResetFunction · 0.95
FuzzCoderFunction · 0.95
FuzzResumableDecoderFunction · 0.95
FuzzValueFormatFunction · 0.95

Calls

no outgoing calls

Tested by 14

testCoderInterleavedFunction · 0.76
TestCoderMaxDepthFunction · 0.76
testDecoderFunction · 0.76
testFaultyDecoderFunction · 0.76
testDecoderErrorsFunction · 0.76
TestResumableDecoderFunction · 0.76
TestBlockingDecoderFunction · 0.76
TestPeekableDecoderFunction · 0.76
TestDecoderResetFunction · 0.76
FuzzCoderFunction · 0.76
FuzzResumableDecoderFunction · 0.76
FuzzValueFormatFunction · 0.76