Comment on Show HN - Random business from the INC5000 list in json (for business ideas)Comments−code4pay14yIf 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. :-)−flashingpumpkin14ySimilarly, with Python: curl -s http://random-inc5000.herokuapp.com/ | python -m simplejson.tool I've got the last bit aliased as `json` though.
Comments
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. :-)
Similarly, with Python:
I've got the last bit aliased as `json` though.