3 ms·
dang and all this time I've been doing this all this time: echo '{"hello": "there"}' | python -c "import json, sys; print json.dumps(json.load(sys.stdin), i
by ericmoritz 14y ago
dang and all this time I've been doing this all this time:
echo '{"hello": "there"}' | python -c "import json, sys; print json.dumps(json.load(sys.stdin), indent=4)"
Thanks for the tip!