4 ms·
Recent versions of Python have a JSON prettifier baked in. On OS X, if you have ugly JSON in your clipboard, simply run this: $ pbpaste | python -mjson.too
by ipmb 15y ago
Recent versions of Python have a JSON prettifier baked in. On OS X, if you have ugly JSON in your clipboard, simply run this:
$ pbpaste | python -mjson.tool
- Skywing 15y agoI'm doing essentially the same thing with the submitted JSON. The result of that would be what I am storing in the database.