diff --git a/flask/json/__init__.py b/flask/json/__init__.py index 6a10b737..d3d8439d 100644 --- a/flask/json/__init__.py +++ b/flask/json/__init__.py @@ -267,7 +267,3 @@ def jsonify(*args, **kwargs): dumps(data, indent=indent, separators=separators) + '\n', mimetype=current_app.config['JSONIFY_MIMETYPE'] ) - - -def tojson_filter(obj, **kwargs): - return Markup(htmlsafe_dumps(obj, **kwargs))