Binary Sludge
  • Home

JSON

A collection of 1 post
cURL

Easy CLI JSON Formatting

Command line JSON interpretation can be confusing. Python's json library (2.6+) provides a simple prettifier: $ echo '{"json":"obj"}' | python -mjson.tool { "json": "obj" } Or facetiously (from the obligatory Internet Chuck Norris Database): $ curl -s "http://api.
09 Nov 2012
Page 1 of 1
Binary Sludge © 2026
Powered by Ghost