<Python, Json> Jsonを見やすくする。

PythonJsonを見やすくする。

[1749:hage:~]>curl -q 'http://search.twitter.com/search.json?q=json&rpp=5&include_entities=true' | python -mjson.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   156  100   156    0     0    250      0 --:--:-- --:--:-- --:--:--   257
{
    "errors": [
        {
            "message": "The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.",
            "code": 64
        }
    ]
}

こちらで勉強しました。

tdoc.info