jq - printf, SQL, SED, etc. for JSON
jq manual
To pretty print JSON
cat someJsonFile | jq '.'
curl -i -H -H "Content-Type: application/json" http://someHost/v1/someRest | jq '.'
To pretty print JSON
cat someJsonFile | jq '.'
curl -i -H -H "Content-Type: application/json" http://someHost/v1/someRest | jq '.'
Comments