9ojnow
Last Updated: February 25, 2016
·
953
· teamon
9fae8c5d475fe322a3a74e53d56ee2a0

Colorful json in terminal

Install gem

gem install colorful_json 

Run it

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

Profit!

Say Thanks
Respond

2 Responses
Add your response

395
10534 128567884189 828694189 2287781 3877042 n

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
2353857b3f577eb4e3840111ca9a7ecb

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 ·