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

Method needDelim

jsontext/state.go:403–412  ·  view source on GitHub ↗

needDelim reports whether a colon or comma token should be implicitly emitted before the next token of the specified kind. A zero value means no delimiter should be emitted.

(next Kind)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

TestStateMachineFunction · 0.95
appendWhitespaceMethod · 0.80
PeekKindMethod · 0.80
checkDelimMethod · 0.80
ReadTokenMethod · 0.80
ReadValueMethod · 0.80

Calls 2

needImplicitColonMethod · 0.80
needImplicitCommaMethod · 0.80

Tested by 1

TestStateMachineFunction · 0.76