RubyFlow The Ruby and Rails community linklog

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