Captures an entire field value, including recursive objects, and converts them to a []byte suitable to pass to a sub-object's UnmarshalJSON
(start FFTok)
| 562 | // and converts them to a []byte suitable to pass to a sub-object's |
| 563 | // UnmarshalJSON |
| 564 | func (ffl *FFLexer) CaptureField(start FFTok) ([]byte, error) { |
| 565 | return ffl.scanField(start, true) |
| 566 | } |
| 567 | |
| 568 | func (ffl *FFLexer) SkipField(start FFTok) error { |
| 569 | _, err := ffl.scanField(start, false) |