3 ms·
You can also use the python json.tool $ echo '{"json":"obj"}' | python -mjson.tool { "json": "obj" } http://docs.python.org/library/json.h
by pjo 15y ago
You can also use the python json.tool
$ echo '{"json":"obj"}' | python -mjson.tool
{
"json": "obj"
}
http://docs.python.org/library/json.html http://docs.python.org/library/json.html