JSON processing with Python

curl -s "http://feeds.delicious.com/v2/json?count=5" | python -m json.tool | less -R
Validates and pretty-prints the content fetched from the URL.
Sample Output
        "d": "22 Useful Online Chart & Graph Generators | Tools", 
        "dt": "2010-03-24T00:00:00Z", 
        "t": [
        "u": "http://www.hongkiat.com/blog/22-useful-chart-graph-diagram-generators/"
        "d": "Official Google Data APIs Blog: Bringing OpenID and OAuth Together", 
        "dt": "2010-03-24T00:00:00Z", 
        "t": [
        "u": "http://googledataapis.blogspot.com/2009/01/bringing-openid-and-oauth-together.html"
        "d": "Great Girl Manipulations by Digital Artist Michael O. | Abduzeedo - design inspiration and tutorials", 
        "dt": "2010-03-24T00:00:00Z", 
        "t": [
        "u": "http://abduzeedo.com/great-girl-manipulations-digital-artist-michael-o"
        "d": "Nightline Face-Off - ABC News", 
        "dt": "2010-03-24T00:00:00Z", 
        "t": [
        "u": "http://www.abcnews.go.com/Nightline/FaceOff/"
        "d": "How Twitter and Facebook Make Us More Productive | Magazine", 
        "dt": "2010-03-24T00:00:00Z", 
        "t": [
        "u": "http://www.wired.com/magazine/2010/02/st_essay_distraction/"

By: keimlink
2010-03-24 09:15:12

What Others Think

vigo · 639 weeks and 5 days ago
The topic is about JSON processing with Python and there are a few statistics now that maybe you would be able to learn and understand now. I cannot tell much as it says something about smart writing service reviews so if you know what i mean then explain in easy words.
sadamn · 96 weeks and 3 days ago
If you guys are looking for something creative at the moment, then I suggest that you check out the squarespace website creation. They are pretty interesting and I bet most of you guys are going to like it for sure. Really worth it!
WalkerNolan · 78 weeks and 2 days ago
Now on this page, you all can read more about JSON processing with Python so if you think this can make some sense to you then look forward to that as we all are in need of that for the first time ever. Just see that and we hope this was what we would like to learn and explore for the sake of them as well as for later years.
saveed · 46 weeks and 6 days ago
I myself had problems with the task at Python. I am a beginner, so I could not do without help. Turned to one authoritative portal - see on copycrafter.net It was thanks to this that I was able to understand the Python problem. There are now many similar services that make life easier for students.
Maxss · 4 weeks and 5 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: