jsons v1.3.0 Release Notes

Release Date: 2020-10-09 // almost 4 years ago
    • Feature: Added warn_on_fail parameter to default_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.

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.