RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

The Best Way To Pretty Print JSON On The Command-Line

We work with JSON APIs every day, so it helps to know what options there are when it comes to formatting our JSON on the command line. Your easiest/best bets are the Python JSON tool (if there is no other option), YAJL tools, or the ppjson gem, written using the escort framework.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in