echo '{"foo": "lorem", "bar": "ipsum"}' | python -m json.tool
Source: How can I pretty-print JSON?
Recommended Posts