2 ms·
similarly, you can get a janky json pretty printer by doing: curl -s http://some/json/url | python -m json.tool
by stock_toaster 13y ago
similarly, you can get a janky json pretty printer by doing:
curl -s http://some/json/url | python -m json.tool
- wging 13y agoWhen your needs stretch beyond that, try 'jq'. http://stedolan.github.io/jq/ http://stedolan.github.io/jq/ For pretty-printing without modification, cat myjson | jq '.'