PrettyPrint JSON data


$ echo '{"foo": {"bar":2, "pouet":3}}' | python -mjson.tool
{
    "foo": {
        "bar": 2, 
        "pouet": 3
    }
}