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

Method More

jsonxt/stream.go:488–491  ·  view source on GitHub ↗

More reports whether there is another element in the current array or object being parsed.

()

Source from the content-addressed store, hash-verified

486// More reports whether there is another element in the
487// current array or object being parsed.
488func (dec *Decoder) More() bool {
489 c, err := dec.peek()
490 return err == nil && c != ']' && c != '}'
491}
492
493func (dec *Decoder) peek() (byte, error) {
494 var err error

Callers 1

BulkDecodeNextEntryMethod · 0.95

Calls 1

peekMethod · 0.95

Tested by

no test coverage detected