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

Method tokenValueEnd

jsonxt/stream.go:342–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340}
341
342func (dec *Decoder) tokenValueEnd() {
343 switch dec.tokenState {
344 case tokenArrayStart, tokenArrayValue:
345 dec.tokenState = tokenArrayComma
346 case tokenObjectValue:
347 dec.tokenState = tokenObjectComma
348 }
349}
350
351// A Delim is a JSON array or object delimiter, one of [ ] { or }.
352type Delim rune

Callers 2

DecodeMethod · 0.95
TokenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected