Skip to content
Myr

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

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

authored by Nicholas Zaccardi · committed by Nicholas Zaccardi · parent b2971ec · 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