Skip Menu |

This queue is for tickets about the JSON-DWIW CPAN distribution.

Report information
The Basics
Id: 26467
Status: resolved
Priority: 0/
Queue: JSON-DWIW

People
Owner: dowens [...] cpan.org
Requestors: dowens [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.07
Fixed in: 0.09



Scalars that are used as numbers, then as strings are not converted to JSON properly. They end up being output without being quoted. E.g., my $data = {}; $data->{test_var} = 0; $data->{test_var} = 'blah'; if $data is encoded, it will output {"test_var":blah} This will be fixed in version 0.08. If you are in urgent need of the fix, you can download version 0.07a at http://perl.regexguy.com/dist/JSON-DWIW-0.07a.tar.gz This is the only change since version 0.07, but be aware that the fix is still in the testing phase.