Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

parsing JSON for specific entries

by tevolo (Novice)
on Aug 01, 2012 at 18:33 UTC ( #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
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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2021-03-05 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (109 votes). Check out past polls.

    Notices?