Bug#601718: libjson-perl: inconsistent handling of numbers

2013-04-15 Thread Florian Schlichting
Hi Pablo, I have problems reproducing your issue, or maybe I fail to understand the problem. From your example, I see that - in $obj1 and $dump1, a and c are numbers (no quotes) - in $obj2 and $dump2 (and $ex), a and c are strings (have quotes), except that re.pl doesn't display the quotes on

Bug#601718: libjson-perl: inconsistent handling of numbers

2010-10-28 Thread pablobarbachano
Package: libjson-perl Version: 2.26-1 Severity: important - on encode_json(), it seems to remove "" if the string looks like a number. - on decode_json(), it's inconsistent... given the same object (AFAICT), it encodes it differently, although all the time the same way. It seems to keep s