--- JSON-XS/XS.pm 2008/03/26 01:40:42 1.96 +++ JSON-XS/XS.pm 2008/03/26 01:43:14 1.97 @@ -729,8 +729,6 @@ case. Note that in this case, any previously-parsed JSON texts will be lost. -If there is a parse - =item $lvalue_string = $json->incr_text This method returns the currently stored JSON fragment as an lvalue, that @@ -745,6 +743,13 @@ JSON object or b) parsing multiple JSON objects separated by non-JSON text (such as commas). +=item $json->incr_skip + +This will reset the state of the incremental parser and will remove the +parsed text from the input buffer. This is useful after C +died, in which case the input buffer and incremental parser state is left +unchanged, to skip the text parsed so far and to reset the parse state. + =back =head2 LIMITATIONS