Skip to content
Myr

Merge pull request #2231 from asilversempirical/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Update out of date jsonify documentation

authored by David Lord · committed by GitHub · parents ae1ac20, d76d68c · Browse files · 1 file+4 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−5 removed

  • other:+4 added−5 removed

1 file+4 added−5 removed

modified:flask/json.py+4 added-5 removed
234 unmodified lines
235 .. versionchanged:: 0.11236 Added support for serializing top-level arrays. This introduces a237 security risk in ancient browsers. See :ref:`json-security` for details.238239 This function's response will be pretty printed if it was not requested240 with ``X-Requested-With: XMLHttpRequest`` to simplify debugging unless241 the ``JSONIFY_PRETTYPRINT_REGULAR`` config parameter is set to false.242 Compressed (not pretty) formatting currently means no indents and no243 spaces after separators.239 This function's response will be pretty printed if the240 ``JSONIFY_PRETTYPRINT_REGULAR`` config parameter is set to True or the241 Flask app is running in debug mode. Compressed (not pretty) formatting242 currently means no indents and no spaces after separators.243244 .. versionadded:: 0.2245 """246
22 unmodified lines