Skip Menu |
 

This queue is for tickets about the YAML-Syck CPAN distribution.

Report information
The Basics
Id: 18464
Status: rejected
Priority: 0/
Queue: YAML-Syck

People
Owner: Nobody in particular
Requestors: miyagawa [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Fwd: JSON::Syck bug
Date: Fri, 31 Mar 2006 13:28:15 +0900
To: bug-JSON-Syck [...] rt.cpan.org
From: "Tatsuhiko Miyagawa" <miyagawa [...] gmail.com>
Download (untitled) / with headers
text/plain 747b
Show quoted text
---------- Forwarded message ---------- From: Andreas Schiffler <aschiffler@ferzkopp.net> Date: Mar 7, 2006 3:43 AM Subject: JSON::Syck bug To: miyagawa@gmail.com Hi there, First of all, thanks for your CPAN module. I think Ifound a bug - if I evaluate this JSON string {"i":{"cid":"123","sid":"123","c":"","v":"2.0","m":"h01iSTI5","up":""},"e":{"m":"click","x":109,"y":71,"dt":1850,"v":0,"t":-1,"c":-1}} to a perl variable $h, the -1 numbers at the end (t and c) are converted to a 1 (i.e. the minus is ignored) i.e. $h->{'e'}->{'t'} and $h->{'e'}->{'c'} are 1 not -1. The specs on json.org allow my syntax above for nonquoted numbers (it was generated using the standard json.js code). Best regards Andreas -- Tatsuhiko Miyagawa
Download (untitled) / with headers
text/plain 117b
As long as JSON::Syck has been merged with YAML::Syck, this bug has not been present. Closing as not valid any more.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.