Enforcer of snakey JSON.
With pip:
pip install sj
With curl (separate install of ijson
required):
curl -sLO https://raw.githubusercontent.com/hamfist/sj/master/sj.py mv sj.py ~/bin/sj chmod +x ~/bin/sj
With whatever stdin:
sj < some-file.json
With curl:
curl -s http://example.org/some/path | sj