Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: loop through JSON data with Perl

by srchulo (Sexton)
on Oct 02, 2011 at 22:13 UTC ( #929193=note: print w/ replies, xml ) Need Help??


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

Yeah, I tried this. It doesn't work :/


Comment on Re^2: loop through JSON data with Perl
Replies are listed 'Best First'.
Re^3: loop through JSON data with Perl
by Anonymous Monk on Oct 02, 2011 at 22:25 UTC
      Hmmm...now that I am looking that more closely it isn't well-formed JSON. I believe that is the issue. Thank you.
        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 :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929193]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (12)
As of 2015-07-29 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls