commit
2132040a5f
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ JSON module:
|
||||||
|
|
||||||
1. ``datetime`` objects are serialized as :rfc:`822` strings.
|
1. ``datetime`` objects are serialized as :rfc:`822` strings.
|
||||||
2. Any object with an ``__html__`` method (like :class:`~flask.Markup`)
|
2. Any object with an ``__html__`` method (like :class:`~flask.Markup`)
|
||||||
will ahve that method called and then the return value is serialized
|
will have that method called and then the return value is serialized
|
||||||
as string.
|
as string.
|
||||||
|
|
||||||
The :func:`~htmlsafe_dumps` function of this json module is also available
|
The :func:`~htmlsafe_dumps` function of this json module is also available
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue