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