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

Hmmm...now that I am looking that more closely it isn't well-formed JSON. I believe that is the issue. Thank you.

Replies are listed 'Best First'.
Re^5: loop through JSON data with Perl
by Anonymous Monk on Oct 02, 2011 at 22:39 UTC
    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 :)