Jsons Versions Save

🐍 A Python lib for (de)serializing Python objects to/from JSON

v1.6.3

2 years ago
  • Bugfix: a string was sometimes unintentionally parsed into a datetime.

v1.6.2

2 years ago
  • Bugfix: fork_insts were not propagated in default_list_deserializer (thanks to patrickguenther).

v1.6.1

2 years ago
  • Bugfix: Loading dicts with hashed keys could cause an error due to being loaded twice (thanks to georgeharker).
  • Bugfix: IntEnums were not serialized with their names when use_enum_name=True (thanks to georgeharker).
  • Bugfix: Named tuples did not use typing.get_type_hints for getting the types, causing trouble in future annotations (thanks to georgeharker).

v1.6.0

2 years ago
  • Feature: Support for Python3.10.
  • Feature: Support for attrs.

v1.5.1

2 years ago
  • Bugfix: ZoneInfo failed to dump if attached to a datetime.

v1.5.0

2 years ago
  • Feature: Support for ZoneInfo on Python3.9+.
  • Change: microseconds are no longer stripped by default (thanks to pietrodn).

v1.4.2

3 years ago
  • Bugfix: get_origin did not work with python3.9+ parameterized collections (e.g. dict[str, str]).

v1.4.1

3 years ago
  • Bugfix: Types of attributes that are not in the constructor were not properly looked for. See issue #128.

v1.4.0

3 years ago
  • Feature: DefaultDicts can now be deserialized.
  • Feature: Dicts with any (hashable) key can now be dumped and loaded.
  • Feature: Suppress specific warnings.
  • Bugfix: Loading a verbose-serialized object in a list could sometimes deserialize that object as a parent class.
  • Bugfix: Unwanted stringification of NoneValues is now prevented in Optionals and Unions with NoneType.
  • Bugfix: Fixed a bug with postponed annotations and dataclasses. See also Issue34776.
  • Bugfix: Types of attributes that are not in the constructor are now looked for in annotations.

v1.3.1

3 years ago
  • Bugfix: Fixed bug where classmethods were included in the serialized result.