Link to entry In reply to

TIL About json.tool

microblog

Somehow I never heard about json.tool until just now. It's built in to Python and provides a simple way to pretty-print JSON on the CLI:

echo '{"og": "hi there"}' | python -m json.tool
{
    "og": "hi there"
}

This is a nice alternative if you have Python installed and don't want to take the time to install jq.