Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: loop through JSON data with Perl

by Anonymous Monk
on Oct 02, 2011 at 22:25 UTC ( #929198=note: print w/replies, xml ) Need Help??

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

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

What exactly? How do I post a question effectively?

I see the posted JSON isn't well formed JSON (its valid javascript, but not valid JSON)

Replies are listed 'Best First'.
Re^4: loop through JSON data with Perl
by srchulo (Sexton) on Oct 02, 2011 at 22:29 UTC 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 confirmed it :)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2016-10-26 20:34 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (347 votes). Check out past polls.