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

Function TestBlockingDecoder

jsontext/decode_test.go:1115–1175  ·  view source on GitHub ↗

TestBlockingDecoder verifies that JSON values except numbers can be synchronously sent and received on a blocking pipe without a deadlock. Numbers are the exception since termination cannot be determined until either the pipe ends or a non-numeric character is encountered.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

WriteValueMethod · 0.95
ReadTokenMethod · 0.95
ReadValueMethod · 0.95
ValueTypeAlias · 0.85
NewEncoderFunction · 0.70
NewDecoderFunction · 0.70
KindMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…