NextToken returns a []byte referencing the next logical token in the stream. The []byte is valid until Token is called again. At the end of the input stream, Token returns nil, io.EOF. Token guarantees that the delimiters [ ] { } it returns are properly nested and matched: if Token encounters an un
()
| 112 | // |
| 113 | // Commas and colons are elided. |
| 114 | func (d *Decoder) NextToken() ([]byte, error) { |
| 115 | return d.state(d) |
| 116 | } |
| 117 | |
| 118 | func (d *Decoder) stateObjectString() ([]byte, error) { |
| 119 | tok := d.scanner.Next() |
no outgoing calls
no test coverage detected