richardlog: Pretty-printing JSON and XML on Mac OSX
I’d also use this in conjunction with pbcopy. pbpaste | python -m json.tool | pbcopy. Formatting this:
{"this": {"is": "a", "nested": "json"}, "object": [true]}
As this:
{
"object": [
true
],
"this": {
"is": "a",
"nested": "json"
}
}
Nice!
Like my colleagues at Avisi I’m an avid OSX user. One of the reasons I like OSX is it gives you have the power of Unix right under your fingertips while still providing a nice user interface.
Now suppose you’re working on RESTful services and you need to verify or debug some JSON output….
-
native99go liked this
-
castelinoui5 liked this
-
developed6ok liked this
-
yeseniauio09 liked this
-
murphytii0 liked this
-
brendaca83 liked this
-
seapomeranian reblogged this from richardlog
-
batkin reblogged this from richardlog and added:
in conjunction with pbcopy....pbcopy. Formatting this: {"this": {"is": "a", "nested":...
-
richardlog posted this