Easily serialize Data Classes to and from JSON
MIT License
Bot releases are hidden (Show)
Published by lidatong about 5 years ago
Make type annotations visible to mypy. Thanks @gward
Published by lidatong about 5 years ago
Fix bytes
encoder. Thanks @tstehr
Published by lidatong about 5 years ago
Fix issues with decoding generic extended types (datetime, uuid, decimal).
Published by lidatong about 5 years ago
Marshmallow fix. Thanks @yukihiko-shinoda
Published by lidatong about 5 years ago
Introduces PascalCase
lettercase config option. Thanks @jansabbe
Published by lidatong about 5 years ago
BREAKING CHANGE
configured_dataclass_json
has been removed in favor of a single dataclass_json
decorator that optionally takes arguments.
To upgrade to this release, simply replace all occurrences of configured_dataclass_json
with dataclass_json
(a find-and-replace-in-all-files should suffice).
Note that the no arg version of the decorator:
@dataclass_json
class Example
...
will continue to work and requires no code changes
Published by lidatong about 5 years ago
datakey
. Thanks @GlandosPublished by lidatong over 5 years ago
field_name
to the config object. Thanks @nazarewk!
LetterCase
now correctly applies to the generated marshmallow schema
Published by lidatong over 5 years ago
Introduces configured_dataclass_json
to provide class-level parameterization of letter_case
Published by lidatong over 5 years ago
Support configuration of field name letter case
Published by lidatong over 5 years ago
Fix botched release
Published by lidatong over 5 years ago
Add to_dict
and from_dict
to API
Published by lidatong over 5 years ago
Fix metaclass conflict due to typing.Generic
incompatibility between 3.6 and 3.7
Published by lidatong over 5 years ago
Pin marshmallow release to 3.6 to fix schema bug
Published by lidatong over 5 years ago
Union
typesPublished by lidatong over 5 years ago
Published by lidatong over 5 years ago
init=False
Published by lidatong over 5 years ago
Fix schema issues #66
Published by lidatong over 5 years ago