forked from orbit-oss/flask
Merge branch '2.1.x'
This commit is contained in:
commit
48fe96588c
9 changed files with 35 additions and 26 deletions
|
|
@ -20,6 +20,7 @@ class JSONEncoder(_json.JSONEncoder):
|
|||
- :class:`datetime.datetime` and :class:`datetime.date` are
|
||||
serialized to :rfc:`822` strings. This is the same as the HTTP
|
||||
date format.
|
||||
- :class:`decimal.Decimal` is serialized to a string.
|
||||
- :class:`uuid.UUID` is serialized to a string.
|
||||
- :class:`dataclasses.dataclass` is passed to
|
||||
:func:`dataclasses.asdict`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue