Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks for the heads up on Jason. I work with a lot of web apis and this looks like a great tool for browsing json responses.


I use this Chrome extension to view JSON responses directly in browser https://chrome.google.com/webstore/detail/chklaanhfefbnpoihc...


The webkit inspector is also great for that. you can paste js and browse it in a nice way.

On most pages you can even just open the inspector (cmd alt i) and do $.get() to inspect json from random places


This is also a great website for quickly viewing prettyified json:

http://json.parser.online.fr/


Another great way is via the json ruby gem, which installs a prettifier which can be used from the command line, like this:

    curl 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitter&include_rts=1 | prettify_json.rb| less


Another way to do it without having to install anything extra:

curl "http://api.twitter.com/1/statuses/user_timeline.json?screen_... | python -m json.tool | pbcopy


I use the Chrome extension JsonViewer. It automatically formats the json. Great for api inspection.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: