{"action":"created","issue":{"url":"https://api.github.com/repos/pallets/flask/issues/1421","repository_url":"https://api.github.com/repos/pallets/flask","labels_url":"https://api.github.com/repos/pallets/flask/issues/1421/labels{/name}","comments_url":"https://api.github.com/repos/pallets/flask/issues/1421/comments","events_url":"https://api.github.com/repos/pallets/flask/issues/1421/events","html_url":"https://github.com/pallets/flask/issues/1421","id":66588876,"number":1421,"title":"`request.json` deprecation discussion","user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pallets/flask/labels/discussion/long-term","name":"discussion/long-term","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pallets/flask/milestones/2","html_url":"https://github.com/pallets/flask/milestones/1.0","labels_url":"https://api.github.com/repos/pallets/flask/milestones/2/labels","id":795954,"number":2,"title":"1.0","description":"","creator":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":18,"state":"open","created_at":"2014-09-19T15:47:20Z","updated_at":"2016-04-14T06:57:09Z","due_on":null,"closed_at":null},"comments":28,"created_at":"2015-04-06T11:51:02Z","updated_at":"2016-05-23T02:50:24Z","closed_at":null,"body":"cont https://github.com/mitsuhiko/flask/pull/1416#issuecomment-90027039"},"comment":{"url":"https://api.github.com/repos/pallets/flask/issues/comments/220877110","html_url":"https://github.com/pallets/flask/issues/1421#issuecomment-220877110","issue_url":"https://api.github.com/repos/pallets/flask/issues/1421","id":220877110,"user":{"login":"guyskk","id":6367792,"avatar_url":"https://avatars.githubusercontent.com/u/6367792?v=3","gravatar_id":"","url":"https://api.github.com/users/guyskk","html_url":"https://github.com/guyskk","followers_url":"https://api.github.com/users/guyskk/followers","following_url":"https://api.github.com/users/guyskk/following{/other_user}","gists_url":"https://api.github.com/users/guyskk/gists{/gist_id}","starred_url":"https://api.github.com/users/guyskk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyskk/subscriptions","organizations_url":"https://api.github.com/users/guyskk/orgs","repos_url":"https://api.github.com/users/guyskk/repos","events_url":"https://api.github.com/users/guyskk/events{/privacy}","received_events_url":"https://api.github.com/users/guyskk/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T02:50:24Z","updated_at":"2016-05-23T02:50:24Z","body":"It's imposible to avoid bad json data unless use a stream parser and tell the struct we needed to the parser. \r\nFor ijson, it yield (keys,event,value), once we get the keys we need, it stop.The keys is like `user.name` if we need the name of user object.\r\nAnd I am writing https://github.com/guyskk/validater which can validate json data by schema, the schema is like `{\"user\":{\"name\":\"str&required\"}}`. validater is based on ijson, it will stop once the json struct diff with schema, but this feature is not released, you should install it from master source code. \r\nBecause the parser need to know the struct of json, it can't compat with standard json lib."}}
{"actor":{"display_login":"guyskk"}}