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

Method WriteValue

jsontext/encode.go:524–526  ·  view source on GitHub ↗

WriteValue writes the next raw value and advances the internal write offset. The Encoder does not simply copy the provided value verbatim, but parses it to ensure that it is syntactically valid and reformats it according to how the Encoder is configured to format whitespace and strings. If [AllowInv

(v Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

testCoderInterleavedFunction · 0.95
TestCoderMaxDepthFunction · 0.95
TestBlockingDecoderFunction · 0.95
testEncoderFunction · 0.95
testFaultyEncoderFunction · 0.95
testEncoderErrorsFunction · 0.95
TestEncoderResetFunction · 0.95
FuzzCoderFunction · 0.95
makeStringArshalerFunction · 0.45
MarshalJSONToMethod · 0.45
TestMarshalFunction · 0.45
arshal_test.goFile · 0.45

Calls

no outgoing calls

Tested by 10

testCoderInterleavedFunction · 0.76
TestCoderMaxDepthFunction · 0.76
TestBlockingDecoderFunction · 0.76
testEncoderFunction · 0.76
testFaultyEncoderFunction · 0.76
testEncoderErrorsFunction · 0.76
TestEncoderResetFunction · 0.76
FuzzCoderFunction · 0.76
MarshalJSONToMethod · 0.36
TestMarshalFunction · 0.36