in reply to Re: Parsing JSON out of an incremental stream
in thread Parsing JSON out of an incremental stream
Unfortunately it looks like incr_parse is not capable of actually accepting random snippets.
This makes it unusable in my scenario.>perl -MJSON -e 'my $json = JSON->new;$foo=$json->incr_parse(q!{"check +_result!);' unexpected end of string while parsing JSON string, at character offse +t 14 (before "(end of string)") at -e line 1.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Parsing JSON out of an incremental stream
by haj (Vicar) on Feb 18, 2019 at 13:36 UTC | |
by Sec (Monk) on Feb 18, 2019 at 16:00 UTC | |
by marto (Cardinal) on Feb 18, 2019 at 16:26 UTC |