1. cat FileName.json | python -m json.tool
2. cat FileName.json~ | jq ''
Bonus - colors and multiple options.
Output -
{
"Apply_Data": "",
"Message": "Invalid Token or Username-Password combination.",
"Code": 403
}
3.
echo '{"foo": "bar"}' | python -m json.tool | pygmentize -g
Bonus - Pretty print with syntax highlighting.