There are many ways to check the JSON data stored in a file on your device
However, it is troublesome to install something even though I just want to check it, so I want to use the one that is included in most environments
I looked it up and found it on stackoverflow
unix - How can I pretty-print JSON from the command line? - Stack Overflow
cat output.json | python -mjson.tool
It looks like this should be done
It seems that Python2.6 or higher is required, but it is convenient if it is included! !!
Recommended Posts