docs style cleanup

[ci skip]
This commit is contained in:
David Lord 2017-06-02 06:49:55 -07:00
parent ca176cb903
commit bbd15d53ad
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 34 additions and 28 deletions

View file

@ -171,18 +171,6 @@ implementation that Flask is using.
.. autoclass:: SessionMixin
:members:
.. autodata:: session_json_serializer
This object provides dumping and loading methods similar to simplejson
but it also tags certain builtin Python objects that commonly appear in
sessions. Currently the following extended values are supported in
the JSON it dumps:
- :class:`~markupsafe.Markup` objects
- :class:`~uuid.UUID` objects
- :class:`~datetime.datetime` objects
- :class:`tuple`\s
.. admonition:: Notice
The ``PERMANENT_SESSION_LIFETIME`` config key can also be an integer
@ -354,6 +342,21 @@ you are using Flask 0.10 which implies that:
.. autoclass:: JSONDecoder
:members:
Tagged JSON
~~~~~~~~~~~
A compact representation for lossless serialization of non-standard JSON types.
:class:`~flask.sessions.SecureCookieSessionInterface` uses this to serialize
the session data, but it may be useful in other places.
.. py:currentmodule:: flask.json.tag
.. autoclass:: TaggedJSONSerializer
:members:
.. autoclass:: JSONTag
:members:
Template Rendering
------------------