Browse Source

Remove tojson filter

pull/2623/head
Grey Li 7 years ago committed by GitHub
parent
commit
42a07efff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      flask/json/__init__.py

4
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))

Loading…
Cancel
Save