Easier way to format JSON instead of JSONLINT
With Python 2.6+ you can just do:
echo '{"foo": "lorem", "bar": "ipsum"}' | python -mjson.tool

Technical notes, and other ideas.
Easier way to format JSON instead of JSONLINT
With Python 2.6+ you can just do:
echo '{"foo": "lorem", "bar": "ipsum"}' | python -mjson.tool