{"action":"created","issue":{"url":"https://api.github.com/repos/pallets/flask/issues/1602","repository_url":"https://api.github.com/repos/pallets/flask","labels_url":"https://api.github.com/repos/pallets/flask/issues/1602/labels{/name}","comments_url":"https://api.github.com/repos/pallets/flask/issues/1602/comments","events_url":"https://api.github.com/repos/pallets/flask/issues/1602/events","html_url":"https://github.com/pallets/flask/issues/1602","id":114451516,"number":1602,"title":"allow using alternative json library","user":{"login":"jab","id":64992,"avatar_url":"https://avatars.githubusercontent.com/u/64992?v=3","gravatar_id":"","url":"https://api.github.com/users/jab","html_url":"https://github.com/jab","followers_url":"https://api.github.com/users/jab/followers","following_url":"https://api.github.com/users/jab/following{/other_user}","gists_url":"https://api.github.com/users/jab/gists{/gist_id}","starred_url":"https://api.github.com/users/jab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jab/subscriptions","organizations_url":"https://api.github.com/users/jab/orgs","repos_url":"https://api.github.com/users/jab/repos","events_url":"https://api.github.com/users/jab/events{/privacy}","received_events_url":"https://api.github.com/users/jab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"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":19,"closed_issues":28,"state":"open","created_at":"2014-09-19T15:47:20Z","updated_at":"2016-06-09T21:09:26Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2015-11-01T05:32:18Z","updated_at":"2016-06-17T15:35:59Z","closed_at":null,"body":"It looks like `flask.json` does not allow the user to specify an alternative json library (such as [rapidjson](https://github.com/kenrobbins/python-rapidjson)). Instead it just [does this](https://github.com/mitsuhiko/flask/blob/41622c8d681a170f39df2ab8dff170d3b8d2d139/flask/json.py#L22-L25):\r\n```python\r\ntry:\r\n    from itsdangerous import simplejson as _json\r\nexcept ImportError:\r\n    from itsdangerous import json as _json\r\n```\r\nThis currently un-overridable behavior also means that, due to differences in when `default(..)` is called between `simplejson` and `json`, bugs can mysteriously appear when `simplejson` is installed that didn't appear without it.\r\n\r\nWould you consider giving the user some control over which json library is used?"},"comment":{"url":"https://api.github.com/repos/pallets/flask/issues/comments/226802755","html_url":"https://github.com/pallets/flask/issues/1602#issuecomment-226802755","issue_url":"https://api.github.com/repos/pallets/flask/issues/1602","id":226802755,"user":{"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},"created_at":"2016-06-17T15:35:59Z","updated_at":"2016-06-17T15:35:59Z","body":"@davidism we support both bytes and unicode and we unify the interface no matter what's the underlying implementation doing."}}
{"actor":{"display_login":"mitsuhiko"}}