Option 1. Using python
cat FileName.json | python -m json.tool
Option 2. Colors and multiple options.
cat FileName.json~ | jq ''
Option 3. Pretty print with syntax highlighting.
echo '{"foo": "bar"}' | python -m json.tool | pygmentize -g
Option 1. Using python
cat FileName.json | python -m json.tool
Option 2. Colors and multiple options.
cat FileName.json~ | jq ''
Option 3. Pretty print with syntax highlighting.
echo '{"foo": "bar"}' | python -m json.tool | pygmentize -g