{"action":"created","issue":{"url":"https://api.github.com/repos/pallets/flask/issues/1710","repository_url":"https://api.github.com/repos/pallets/flask","labels_url":"https://api.github.com/repos/pallets/flask/issues/1710/labels{/name}","comments_url":"https://api.github.com/repos/pallets/flask/issues/1710/comments","events_url":"https://api.github.com/repos/pallets/flask/issues/1710/events","html_url":"https://github.com/pallets/flask/issues/1710","id":129965940,"number":1710,"title":"Allow specifying blueprint-local JSON encoder ","user":{"login":"jfinkels","id":121755,"avatar_url":"https://avatars.githubusercontent.com/u/121755?v=3","gravatar_id":"","url":"https://api.github.com/users/jfinkels","html_url":"https://github.com/jfinkels","followers_url":"https://api.github.com/users/jfinkels/followers","following_url":"https://api.github.com/users/jfinkels/following{/other_user}","gists_url":"https://api.github.com/users/jfinkels/gists{/gist_id}","starred_url":"https://api.github.com/users/jfinkels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfinkels/subscriptions","organizations_url":"https://api.github.com/users/jfinkels/orgs","repos_url":"https://api.github.com/users/jfinkels/repos","events_url":"https://api.github.com/users/jfinkels/events{/privacy}","received_events_url":"https://api.github.com/users/jfinkels/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pallets/flask/labels/blueprints","name":"blueprints","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-30T09:33:20Z","updated_at":"2016-06-08T09:30:47Z","closed_at":null,"body":"A user can specify a JSONEncoder on a Flask application, but it would be useful to be able to specify a JSONEncoder on a blueprint as well, so that requests made to that blueprint would receive responses interpreted by the specified JSON encoder.\r\n\r\nThis is important, for example, in [Flask-Restless][1], where we would like to transform SQLAlchemy objects into JSON objects at the blueprint level, without modifying the JSON Encoder assigned to the specific Flask application.\r\n\r\n[1]: https://github.com/jfinkels/flask-restless"},"comment":{"url":"https://api.github.com/repos/pallets/flask/issues/comments/224537670","html_url":"https://github.com/pallets/flask/issues/1710#issuecomment-224537670","issue_url":"https://api.github.com/repos/pallets/flask/issues/1710","id":224537670,"user":{"login":"RaHus","id":505789,"avatar_url":"https://avatars.githubusercontent.com/u/505789?v=3","gravatar_id":"","url":"https://api.github.com/users/RaHus","html_url":"https://github.com/RaHus","followers_url":"https://api.github.com/users/RaHus/followers","following_url":"https://api.github.com/users/RaHus/following{/other_user}","gists_url":"https://api.github.com/users/RaHus/gists{/gist_id}","starred_url":"https://api.github.com/users/RaHus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaHus/subscriptions","organizations_url":"https://api.github.com/users/RaHus/orgs","repos_url":"https://api.github.com/users/RaHus/repos","events_url":"https://api.github.com/users/RaHus/events{/privacy}","received_events_url":"https://api.github.com/users/RaHus/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T09:30:47Z","updated_at":"2016-06-08T09:30:47Z","body":"@ThiefMaster Is there a way to get the `current_blueprint` without using an active request? Could you take a look at the commented diff?"}}
{"actor":{"display_login":"RaHus"}}