jsons v1.3.0 Release Notes
Release Date: 2020-10-09 // over 2 years ago-
- Feature: Added
warn_on_fail
parameter todefault_list_deserializer
that allows to continue deserialization upon errors. - ๐ Feature: Added
transform
that can transform an object to an object of another type. - ๐ Feature: Added serializer and deserializer for
pathlib.Path
(thanks to alexmirrington). - ๐ Change: When loading a list fails, the error message now points to the failing index.
- ๐ Bugfix: Fixed bug when dumping an object with an innerclass.
- Feature: Added
Previous changes from v1.2.0
-
- ๐ Bugfix: Fixed bug with postponed typehints (PEP-563).
- ๐ Bugfix: Loading an invalid value targeting an optional did not raise.
- ๐ Bugfix: Loading a dict did not properly pass key_transformers.
- ๐ Bugfix: Loading a namedtuple did not properly use key_transformers.
- Bugfix: Utilized
__annotations__
in favor_field_types
because of deprecation as of 3.8.