Skip to content
Myr

Merge pull request #962 from nZac/JSON-Support-doc-update

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

added a note to the api documentation about JSON_SORT_KEYS. Fixes #922

authored by Armin Ronacher · committed by Armin Ronacher · parents 11003d0, ea656a8 · Browse files · 1 file+6 added−0 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+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:docs/api.rst+6 added
383 unmodified lines
384 <script type=text/javascript>385 doSomethingWith({{ user.username|tojson|safe }});386 </script>387388.. admonition:: Auto-Sort JSON Keys389390 The configuration variable ``JSON_SORT_KEYS`` (:ref:`config`) can be set to false to 391 stop Flask from auto-sorting keys. By default sorting is enabled and392 outside of the app context sorting is turned on.393394.. autofunction:: jsonify395396.. autofunction:: dumps397
355 unmodified lines