Format Json in command line

by George Y. Kussumoto

Just a little trick that might be handy:

$ alias jsonfmt="python -m json.tool"
$ echo '{"foo": "bar"}' | jsonfmt
{
    "foo": "bar"
}

The alias creation is optional. o/