NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4523 most downloaded on PyPI
For serializing Python objects to JSON (dicts) and back
Last release 4 years ago
no release in 18 months
Ships fairly regularly
a new release about every 2 months
Some releases are documented
notes for 15 of 52 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
52 releases · first in 2018
Bugfix: a string was sometimes unintentionally parsed into a datetime.
Bugfix: fork_insts were not propagated in default_list_deserializer (thanks to patrickguenther).
fork_insts were not propagated in default_list_deserializer (thanks to patrickguenther).Bugfix: Loading dicts with hashed keys could cause an error due to being loaded twice (thanks to georgeharker).
One column per quarter.
use_enum_name=True (thanks to georgeharker).typing.get_type_hints for getting the types, causing trouble in future annotations (thanks to georgeharker).Feature: Support for Python3.10.
Bugfix: ZoneInfo failed to dump if attached to a datetime.
ZoneInfo failed to dump if attached to a datetime.Feature: Support for ZoneInfo on Python3.9+.
ZoneInfo on Python3.9+.Bugfix: get_origin did not work with python3.9+ parameterized collections (e.g. dict[str, str]).
dict[str, str]).Bugfix: Types of attributes that are not in the constructor were not properly looked for. See issue #128.
Feature: DefaultDicts can now be deserialized.
Bugfix: Fixed bug where classmethods were included in the serialized result.
Feature: Added warn_on_fail parameter to default_list_deserializer that allows to continue deserialization upon errors.
warn_on_fail parameter to default_list_deserializer that allows to continue deserialization upon errors.transform that can transform an object to an object of another type.pathlib.Path (thanks to alexmirrington).Bugfix: Utilized __annotations__ in favor _field_types because of deprecation as of 3.8.
__annotations__ in favor _field_types because of deprecation as of 3.8.Nothing published for this version
Feature: Added a serializer for Union types.
Union types.
JsonSerializable always dumped their attributes as if in strict mode.Feature: Added strict parameter to dump to indicate that dumping a certain cls will ignore any extra data.
strict parameter to dump to indicate that dumping a certain cls will ignore any extra data.
dump(obj, cls=x), x can now be any class (previously, only a class with __slots__).Decimal (thanks to herdigiorgi).dump(5, str)).dump(obj, List[str])) will now dump with respect to that types (if strict)default_dict serializer now optionally accepts types: Optional[Dict[str, type]].strict=True (up to 4 times faster!).set_validator with multiple types did not work.Feature: Added a serializer/deserializer for time.
time.timezone.timedelta.date.Dict[K, V]).List (no generic type) failed.Dict (no generic type) failed.Tuple (no generic type) failed.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →