… | |
… | |
697 | |
697 | |
698 | This is useful if your JSON texts are not delimited by an outer protocol |
698 | This is useful if your JSON texts are not delimited by an outer protocol |
699 | and you need to know where the JSON text ends. |
699 | and you need to know where the JSON text ends. |
700 | |
700 | |
701 | JSON::XS->new->decode_prefix ("[1] the tail") |
701 | JSON::XS->new->decode_prefix ("[1] the tail") |
702 | => ([], 3) |
702 | => ([1], 3) |
703 | |
703 | |
704 | =back |
704 | =back |
705 | |
705 | |
706 | |
706 | |
707 | =head1 INCREMENTAL PARSING |
707 | =head1 INCREMENTAL PARSING |