MCPcopy Create free account
hub / github.com/blues/note / tokenValueAllowed

Method tokenValueAllowed

jsonxt/stream.go:334–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332}
333
334func (dec *Decoder) tokenValueAllowed() bool {
335 switch dec.tokenState {
336 case tokenTopValue, tokenArrayStart, tokenArrayValue, tokenObjectValue:
337 return true
338 }
339 return false
340}
341
342func (dec *Decoder) tokenValueEnd() {
343 switch dec.tokenState {

Callers 2

DecodeMethod · 0.95
TokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected