Subject: | Fwd: JSON:;Syck 0.07 issue |
Date: | Fri, 31 Mar 2006 13:27:59 +0900 |
To: | bug-JSON-Syck [...] rt.cpan.org |
From: | "Tatsuhiko Miyagawa" <miyagawa [...] gmail.com> |
Show quoted text
---------- Forwarded message ----------
From: Andreas Schiffler <aschiffler@ferzkopp.net>
Date: Mar 7, 2006 6:13 AM
Subject: JSON:;Syck 0.07 issue
To: miyagawa@gmail.com
Hi there,
after upgrading to 0.07 my app breaks sometimes.
This input works all the time:
{"i":{"cid":"123","sid":"123","cd":"","v":"2.0","m":"h01iSTI5"},"r":{"adbox1":{"w":320,"h":200},"adbox1_info":{"w":320,"h":32}}}
This one breaks with 0.07 and works with 0.06:
{"i":{"cid":"123","sid":"123","cd":"","v":"2.0","m":"h01iSTI5"},"r":{"adbox1":{"w":320,"h":200},"adbox2":{"w":320,"h":200},"adbox3":{"w":320,"h":200},"adbox1_info":{"w":320,"h":32},"adbox2_info":{"w":320,"h":32},"adbox3_info":{"w":320,"h":32},"adbox4":{"w":320,"h":200},"adbox5":{"w":320,"h":200},"adbox6":{"w":320,"h":200},"adbox4_info":{"w":320,"h":32},"adbox5_info":{"w":320,"h":32},"adbox6_info":{"w":320,"h":32},"adbox4_pick":{"w":320,"h":32},"adbox5_pick":{"w":320,"h":32},"adbox6_rate":{"w":320,"h":32}}}
This is the line where it breaks.
# Convert input JSON to hash
$h = JSON::Syck::Load($ARGS{'json'});
The conversion seems to be creating simply an empty hash.
My system config is
- Linux 2.6.14-1.1653_FC4 SMP x86_64
- httpd-2.0.54-10.3
- mod_perl-2.0.1-1.fc4
- perl-5.8.6-22
- HTML::Mason 1.32
Bye
Andreas
--
Tatsuhiko Miyagawa