Formatting JSON on the command line
15 March 2011
If you ever work with JSON on the command line, try out the json_reformat tool included in yajl-tools package (or install from source).
Without json_reformat
With json_reformat
So much nicer!
It will even tell you if there are syntax syntax errors (as will json_verify).