support dataclass in JSONEncoder

This commit is contained in:
Eruvanos 2019-05-13 10:29:38 +02:00 committed by David Lord
parent dbd3840410
commit 6af14f058b
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 26 additions and 5 deletions

View file

@ -38,6 +38,8 @@ Unreleased
dependency to >= 0.15. :issue:`3022`
- Support ``static_url_path`` that ends with a forward slash.
:issue:`3134`
- :meth:`jsonify` supports :class:`dataclasses.dataclass` objects.
:pr:`3195`
.. _#2935: https://github.com/pallets/flask/issues/2935
.. _#2957: https://github.com/pallets/flask/issues/2957