prettyprint json curl code example Example: curl pretty print json echo '{"foo": "lorem", "bar": "ipsum"}' | jq