Skip to content

Instantly share code, notes, and snippets.

@belo82
Created July 7, 2015 15:33
Show Gist options
  • Save belo82/ba5ce47abeaf5f6a61ae to your computer and use it in GitHub Desktop.
Save belo82/ba5ce47abeaf5f6a61ae to your computer and use it in GitHub Desktop.
Format JSON file on command line
cat file.json | python -m json.tool > formatted_file.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment