Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: JSON Structure Question

by omegaweaponZ (Beadle)
on May 23, 2013 at 16:00 UTC ( #1034970=note: print w/replies, xml ) Need Help??

in reply to Re: JSON Structure Question
in thread JSON Structure Question

The closest way of explaining what I need is that I need to store not just what is in each hash key of 1{}. 2{}, but I physically need to store the top most level of each hash key. The json format cannot be modified in any way.

I can use $data->{1}->{stuff} to get the value of stuff, and so on. So what am I missing to simply read through and loop line by line and get $data->{??????}. I would like to stick with the JSON package to learn the format structure better before exploring other packages.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1034970]
[hippo]: That was around April 1994. Fun times.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2018-06-22 09:47 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (123 votes). Check out past polls.