Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

parsing JSON for specific entries

by tevolo (Novice)
on Aug 01, 2012 at 18:33 UTC ( [id://984872]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    { "Content_ID" : { "CNBP_021687" : { "Title" : "Molecule of the Week -
    + Pyruvic Acid",
              "Type" : "Article",
    ...
              "WebSite" : "PublicWebSite",
              "WebSiteSection" : "PublicWebSite:1367"
            },
    
  2. or download this
     #!c:/strawberry/perl/bin/perl.exe 
    use JSON;
    ...
    foreach $item (@{$object->{Content_ID}} ){
        print " do nothing \n";
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://984872]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found