Easily serialize Data Classes to and from JSON
MIT License
Bot releases are hidden (Show)
Published by lidatong about 1 year ago
Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.6.0...v0.6.1
Published by lidatong over 1 year ago
schema()
type safety by fixing generic type alias misuse by @andersk in https://github.com/lidatong/dataclasses-json/pull/371
Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.8...v0.5.9
Published by lidatong over 1 year ago
Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.7...v0.5.8
Published by lidatong over 2 years ago
clean_exit=True
for mypy_main()
by @USSX-Hares in https://github.com/lidatong/dataclasses-json/pull/345
Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.6...v0.5.7
Published by lidatong about 3 years ago
Published by lidatong about 3 years ago
TODO
PRs merged Aug 25
Published by lidatong over 3 years ago
Fix tuple keys in dict
(#297). Thanks @pearceeverydaylabs
Published by lidatong over 3 years ago
This reverts the removal of encode_json
0.5.0
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).
Published by lidatong over 4 years ago
Move FieldOverrides
outside of function as a perf optimization
(#225). Thanks @justinaustin
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).
Published by lidatong over 4 years ago
Fix deprecation warning (#216). Thanks @stevenj
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
Published by lidatong over 4 years ago
Fix field name override (#209). Thanks @sumnerevans
Published by lidatong over 4 years ago
Revert caching
Published by lidatong over 4 years ago
Performance optimization via caching (#175, #148). Thanks @Germandrummer92 @konstin
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.
Published by lidatong over 4 years ago
Fix nested optional type (#167). Thanks @RunOrVeith
Fix from_dict
annotations (#156). Thanks @eqperes
Published by lidatong almost 5 years ago
Introduce API for undefined fields. Thanks @RunOrVeith and
@Germandrummer92
Published by lidatong almost 5 years ago
Fix api type hints. Thanks @JoeyBG