JSON
JSON copied to clipboard
perl implementation of JSON encoder/decoder
Hi, I trying to install latest version while installing i am facing this issue,Can any one help. 
`JSON` exports a `decode_json` that it chooses from either the preferred installed JSON parser or an acceptable one that the user provides. However, `decode_json` from `JSON::XS` and `JSON::PP` act slightly...
This will discourage the mistaken notion that JSON->new() yields the same default as the simple/non-OO interfaces.
In JSON, when encoding, and when dealing with a blessed object and all attempts have failed, the module yields something like: `encountered object 'XXX', but neither allow_blessed, convert_blessed nor allow_tags...
There is some discussion on p5p about making `JSON` a core module in future versions of Perl. It's a great module, and a great namespace. Is this something you would...
I have a scenario with hundreds of servers with different Perl versions and operating systems. On these servers, I need to run a script which decodes a JSON file. I...
Hi! ``` use JSON; my $foo = JSON::from_json('{blah}'); $ perl /tmp/a.pl '"' expected, at character offset 1 (before "blah}") at JSON.pm line 198. ``` This makes it look like there's...
Not sure if it can be cut down, or skipped, or something, but wow, it runs for a long time.
Some objects overload numification or stringification, but don't have a `TO_JSON` method. It would be nice for those objects to be encoded without having to monkey patch a `TO_JSON` method...
I got this ticket: https://github.com/rurban/Cpanel-JSON-XS/issues/28 "inf and nan encoded as invalid JSON" I know that inf and nan are not encodable in JSON, but inf or nan are invalid JavaScript....