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