If you are a Perl user you can do
curl -s random-inc5000.herokuapp.com | perl -MJSON -e 'print to_json(from_json(<>),{pretty=>1})'
Just thought I'd try it out of interest. :-)
Just thought I'd try it out of interest. :-)
curl -s http://random-inc5000.herokuapp.com/ | python -m simplejson.tool
I've got the last bit aliased as `json` though.