ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.pm
(Generate patch)

Comparing JSON-XS/XS.pm (file contents):
Revision 1.105 by root, Sat May 24 21:55:43 2008 UTC vs.
Revision 1.106 by root, Tue May 27 05:31:39 2008 UTC

763 763
764This will reset the state of the incremental parser and will remove the 764This will reset the state of the incremental parser and will remove the
765parsed text from the input buffer. This is useful after C<incr_parse> 765parsed text from the input buffer. This is useful after C<incr_parse>
766died, in which case the input buffer and incremental parser state is left 766died, in which case the input buffer and incremental parser state is left
767unchanged, to skip the text parsed so far and to reset the parse state. 767unchanged, to skip the text parsed so far and to reset the parse state.
768
769=item $json->incr_reset
770
771This completely resets the incremental parser, that is, after this call,
772it will be as if the parser had never parsed anything.
773
774This is useful if you want ot repeatedly parse JSON objects and want to
775ignore any trailing data, which means you have to reset the parser after
776each successful decode.
768 777
769=back 778=back
770 779
771=head2 LIMITATIONS 780=head2 LIMITATIONS
772 781

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines