in reply to Re^4: loop through JSON data with Perl
in thread loop through JSON data with Perl

The way I discovered is, $json->decode died with '"' expected, at character offset 10 (before "name: "a",\n    valu...") and quick check with http://json.org confirmed it :)