clean up blueprint json support

add changelog for #1898
This commit is contained in:
David Lord 2017-04-24 10:09:50 -07:00
parent 74b3f7e04c
commit 46f83665ef
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
4 changed files with 30 additions and 17 deletions

View file

@ -90,10 +90,10 @@ class Blueprint(_PackageBoundObject):
_got_registered_once = False
#: Blueprint local JSON decoder class to use.
# Set to None to use the :class:`~flask.app.Flask.json_encoder`.
#: Set to ``None`` to use the app's :class:`~flask.app.Flask.json_encoder`.
json_encoder = None
#: Blueprint local JSON decoder class to use.
# Set to None to use the :class:`~flask.app.Flask.json_decoder`.
#: Set to ``None`` to use the app's :class:`~flask.app.Flask.json_decoder`.
json_decoder = None
def __init__(self, name, import_name, static_folder=None,