Cetak json Pretty Linux

echo '{"foo": "lorem", "bar": "ipsum"}' | python -m json.tool
Sahil Rally