in reply to Re: JSON::XS parsing error when incrementally parsing JSON file - "panic: sv_chop"
in thread [SOLVED] JSON::XS parsing error when incrementally parsing JSON file - "panic: sv_chop"

Thanks

I tried swapping out JSON::XS with JSON::PP without any success and got a different error:

unexpected end of string while parsing JSON string, at character offset 5 (before "(end of string)") at parse_json.pl line 40.

Not quite sure why the pure-Perl version is failing in this manner...

I don't know if this is a red herring, but I notice the errors posted for the XS version all have the same length between start and end: 0x1C0

That may (or may not) be significant...