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.3.5

Published by lidatong about 5 years ago

Make type annotations visible to mypy. Thanks @gward

dataclasses-json - 0.3.4

Published by lidatong about 5 years ago

Fix bytes encoder. Thanks @tstehr

dataclasses-json - 0.3.3

Published by lidatong about 5 years ago

Fix issues with decoding generic extended types (datetime, uuid, decimal).

dataclasses-json - 0.3.2

Published by lidatong about 5 years ago

Marshmallow fix. Thanks @yukihiko-shinoda

dataclasses-json - 0.3.1

Published by lidatong about 5 years ago

Introduces PascalCase lettercase config option. Thanks @jansabbe

dataclasses-json - 0.3.0

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

dataclasses-json - 0.2.14

Published by lidatong about 5 years ago

  • Union bugfix. Thanks @FaraSeer
  • Schema datakey. Thanks @Glandos
dataclasses-json - 0.2.13

Published by lidatong over 5 years ago

Added

field_name to the config object. Thanks @nazarewk!

Fixed

LetterCase now correctly applies to the generated marshmallow schema

dataclasses-json -

Published by lidatong over 5 years ago

Hot fix removing print statements

dataclasses-json - 0.2.11

Published by lidatong over 5 years ago

Introduces configured_dataclass_json to provide class-level parameterization of letter_case

dataclasses-json - 0.2.10

Published by lidatong over 5 years ago

Support configuration of field name letter case

dataclasses-json - 0.2.9

Published by lidatong over 5 years ago

Fix botched release

dataclasses-json - 0.2.8

Published by lidatong over 5 years ago

Add to_dict and from_dict to API

dataclasses-json - 0.2.7

Published by lidatong over 5 years ago

Fix metaclass conflict due to typing.Generic incompatibility between 3.6 and 3.7

dataclasses-json - 0.2.6

Published by lidatong over 5 years ago

Pin marshmallow release to 3.6 to fix schema bug

dataclasses-json - 0.2.5

Published by lidatong over 5 years ago

  • Support Union types
  • Better type annotations
dataclasses-json - 0.2.4

Published by lidatong over 5 years ago

dataclasses-json - 0.2.3

Published by lidatong over 5 years ago

  • Adds support for forward references
  • Fixes deserialization bug with init=False
dataclasses-json - 0.2.2

Published by lidatong over 5 years ago

Fix schema issues #66

dataclasses-json - 0.2.1

Published by lidatong over 5 years ago

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