Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: JSON::XS parsing error when incrementally parsing JSON file - "panic: sv_chop"

by ateague (Monk)
on Nov 09, 2016 at 23:07 UTC ( [id://1175636]=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1175636]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found