dataclasses-json==0.6.7
# Easily serialize dataclasses to and from JSON.
$ pip install dataclasses-json
downloads/wk
15,467,252
license
MIT
version
0.6.7
python
<4.0,>=3.7
What is dataclasses-json?
dataclasses-json provides decorators and utilities to automatically serialize Python dataclasses to JSON and deserialize JSON back into dataclass instances. This eliminates boilerplate code for converting between dataclass objects and JSON, making it useful when building APIs, handling configuration files, or working with JSON-based data formats. Developers use it to reduce manual serialization logic while maintaining type safety through dataclass definitions.
Links
Dependencies (2)
Author
Charles Li