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 - 0.2.0

Published by lidatong almost 6 years ago

Add support for field overrides

dataclasses-json - 0.1.0

Published by lidatong almost 6 years ago

Add support for datetime and uuid.

I'm incrementing minor version to 1, as the API at this point is pretty fleshed-out.

Note this library is still pre-1.0.0. However, I'm going to try to stick with the convention of patch version upgrades for bug fixes and minor version upgrades for new API features / backwards-incompatible changes.

dataclasses-json - 0.0.25

Published by lidatong almost 6 years ago

Add infer_missing to .schema

dataclasses-json - 0.0.24

Published by lidatong almost 6 years ago

Add field defaults for generated mm schema. .schema() now takes keyword-only params

dataclasses-json - 0.0.23

Published by lidatong almost 6 years ago

Fix nested schema, encoding, warning msg

dataclasses-json - 0.0.22

Published by lidatong almost 6 years ago

Fix default_factory and dict codec

dataclasses-json - 0.0.21

Published by lidatong almost 6 years ago

Upgrade marshmallow to version that fixes mem leak

dataclasses-json - 0.0.20

Published by lidatong about 6 years ago

Add support for generating nested marshmallow schemas

dataclasses-json - 0.0.17

Published by lidatong about 6 years ago

README updates

dataclasses-json - 0.0.16

Published by lidatong about 6 years ago

Fix error when decoding generics parameterized with str

dataclasses-json - 0.0.15

Published by lidatong about 6 years ago

Fix missing schema method and remove deprecated load and dump

dataclasses-json - 0.0.14

Published by lidatong about 6 years ago

Add .schema() and marshmallow interop

dataclasses-json - 0.0.13

Published by lidatong about 6 years ago

Supplement API with alternate class decorator syntax

dataclasses-json - 0.0.12

Published by lidatong about 6 years ago

Fix infer_missing bug with nested dataclasses

dataclasses-json - 0.0.11

Published by lidatong about 6 years ago

Fix two issues with infer missing: nested objects #6 and field defaults #7

dataclasses-json - 0.0.10

Published by lidatong about 6 years ago

Add long_description to setup.py

dataclasses-json - 0.0.9

Published by lidatong about 6 years ago

This release is compatible with both Python 3.7 and 3.6 (using the dataclasses backport)

dataclasses-json - 0.0.6

Published by lidatong about 6 years ago

This release (0.0.6) and earlier releases are compatible with (and only compatible with) Python 3.6 using the dataclasses backport)

dataclasses-json - 0.0.8

Published by lidatong about 6 years ago

Fix a bug with decoding of empty collections

dataclasses-json - 0.0.7

Published by lidatong about 6 years ago

This release makes fixes based on changes to the typing api, and is only compatible with 3.7+

Previous releases (<=0.0.6) are not compatible with 3.7

Please use <=0.0.6 if you are working with the backport of dataclasses in 3.6

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