9ojnow
Last Updated: February 25, 2016
·
999
· teamon

Colorful json in terminal

Install gem

gem install colorful_json 

Run it

curl http://blah/blah.json | cjson

Profit!

2 Responses
Add your response

395

How about using httpie? https://github.com/jkbr/httpie

cjson is nice when you have local scripts outputting json, httpie is suited for testing webservices and AJAX pages.

over 1 year ago ·
17828

Why we need another tool for that ?

Is http://stedolan.github.io/jq/ not good enough for get the job done ?

over 1 year ago ·