prettyjson Prettify JSON in few lines of Go Install go install github.com/dim13/prettyjson@latest Usage Usage of prettyjson: -c compact -n int indent spaces (default 2)