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