You are here

How to format json data

Ivan Radovanovic's picture

Using python from command line:
cat file.json | python -mjson.tool

Keep in mind this will sort keys in structures.