The JSON Prettifier tool (which makes use of the
Uize.Json module) lets you enter crappy looking JSON data and then serialize it to your individual taste. The end result is neat, elegant, readable, well indented JSON formatted data. You can also take expanded JSON data and crunch it down to a one line string. A host of configuration options lets you tweak indentation, linebreaks, quote characters, key quoting, key padding and alignment, and key sorting. Or choose from one of the convenient preset configurations. Enter JSON text in the "SOURCE JSON" tab, and then get the serialized result in the "SERIALIZED JSON" tab. Play around with the test JSON data to start with.