Skip to content

Instantly share code, notes, and snippets.

@nlacourte
Created June 12, 2014 09:20
Show Gist options
  • Select an option

  • Save nlacourte/9f98d8c6344ddeccd8c9 to your computer and use it in GitHub Desktop.

Select an option

Save nlacourte/9f98d8c6344ddeccd8c9 to your computer and use it in GitHub Desktop.
light json pretty print in ruby
ruby -rjson -e 'puts JSON.pretty_generate(JSON.load($<))' fileName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment