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.159 by root, Wed Sep 7 17:14:56 2016 UTC vs.
Revision 1.160 by root, Wed Nov 16 18:08:30 2016 UTC

768C<incr_parse> in I<scalar context> successfully returned an object. Under 768C<incr_parse> in I<scalar context> successfully returned an object. Under
769all other circumstances you must not call this function (I mean it. 769all other circumstances you must not call this function (I mean it.
770although in simple tests it might actually work, it I<will> fail under 770although in simple tests it might actually work, it I<will> fail under
771real world conditions). As a special exception, you can also call this 771real world conditions). As a special exception, you can also call this
772method before having parsed anything. 772method before having parsed anything.
773
774That means you can only use this function to look at or manipulate text
775before or after complete JSON objects, not while the parser is in the
776middle of parsing a JSON object.
773 777
774This function is useful in two cases: a) finding the trailing text after a 778This function is useful in two cases: a) finding the trailing text after a
775JSON object or b) parsing multiple JSON objects separated by non-JSON text 779JSON object or b) parsing multiple JSON objects separated by non-JSON text
776(such as commas). 780(such as commas).
777 781

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines