Pretty print JSON - 01-11-20

$ curl -X GET https://some.json.endpoint.com | python -m json.tool

Need to check a API request but stuck reading a garbled mess. Try pipeing the result to python json.tool

source:

stackoverflow

\- [ curl, json ]