dataclasses-json

Easily serialize Data Classes to and from JSON

MIT License

Downloads
25.6M
Stars
1.4K
Committers
69

Bot releases are hidden (Show)

dataclasses-json - v0.6.1

Published by lidatong about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.6.0...v0.6.1

dataclasses-json - v0.5.9

Published by lidatong over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.8...v0.5.9

dataclasses-json - v0.5.8

Published by lidatong over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.7...v0.5.8

dataclasses-json - v0.5.7

Published by lidatong over 2 years ago

What's Changed

Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.6...v0.5.7

dataclasses-json - 0.5.6

Published by lidatong about 3 years ago

  • Override encoding before _asdict (#312)
  • Run tests using Python 3.9 and 3.10-alpha too (#274)
  • Skip newtype tests in 3.10
dataclasses-json - 0.5.5

Published by lidatong about 3 years ago

TODO
PRs merged Aug 25

dataclasses-json - 0.5.4

Published by lidatong over 3 years ago

Fix tuple keys in dict (#297). Thanks @pearceeverydaylabs

dataclasses-json - 0.5.2

Published by lidatong over 3 years ago

This reverts the removal of encode_json 0.5.0

dataclasses-json - 0.5.3

Published by lidatong over 3 years ago

This release updates pytest to 6.5.2, because of a security fix in its transitive dependency py (which will be indirectly upgraded to >=1.10.

Note pytest is not installed by default with this package -- only when you specify want dev mode (see setup.py file).

dataclasses-json - 0.5.1

Published by lidatong over 4 years ago

Move FieldOverrides outside of function as a perf optimization
(#225). Thanks @justinaustin

dataclasses-json - 0.5.0

Published by lidatong over 4 years ago

BREAKING CHANGE
The optional encode_json parameter has been removed from to_dict().
It should not have been exposed in the first place, and I don't expect
many to be affected. Nonetheless, this is a breaking change, and hence
the minor version bump (see note on versioning in the docs).

dataclasses-json - 0.4.5

Published by lidatong over 4 years ago

Fix deprecation warning (#216). Thanks @stevenj

dataclasses-json - 0.4.4

Published by lidatong over 4 years ago

Add config option to exclude fields with a predicate (#221). Thanks
@arusahni

Fix bug with mm_field config when processing overrides

dataclasses-json - 0.4.3

Published by lidatong over 4 years ago

Fix field name override (#209). Thanks @sumnerevans

dataclasses-json - 0.4.2

Published by lidatong over 4 years ago

Revert caching

dataclasses-json - 0.4.1

Published by lidatong over 4 years ago

Performance optimization via caching (#175, #148). Thanks @Germandrummer92 @konstin

dataclasses-json - 0.4.0

Published by lidatong over 4 years ago

Introduce API for global config of encoders by type (#139).

To elaborate, you can now define globally how to encode any unsupported
type, rather than have to specify for every individual field.

dataclasses-json - 0.3.8

Published by lidatong over 4 years ago

Fix nested optional type (#167). Thanks @RunOrVeith

Fix from_dict annotations (#156). Thanks @eqperes

dataclasses-json - 0.3.7

Published by lidatong almost 5 years ago

Introduce API for undefined fields. Thanks @RunOrVeith and
@Germandrummer92

dataclasses-json - 0.3.6

Published by lidatong almost 5 years ago

Fix api type hints. Thanks @JoeyBG

Package Rankings
Top 1.36% on Pypi.org
Top 37.4% on Anaconda.org
Top 6.51% on Alpine-edge
Top 18.59% on Spack.io
Top 13.49% on Conda-forge.org