lidatong/dataclasses-json
Easily serialize Data Classes to and from JSON observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 80
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3056
- days_rel: n/a
- days_push: 120
- n_releases_24m: 0
Adoption not part of the score
1486 stars · 170 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python library providing a simple decorator-based API for serializing dataclasses to and from JSON. It supports nested dataclasses, collections, datetime objects, letter-case configuration, and optional schema validation.
Use cases
- serialize python dataclasses to
- decode into typed dataclasses
- convert camelCase to snake_case dataclass fields
- validate payloads against dataclass schemas
- handle nested dataclass serialization
- serialize datetime fields in dataclasses to
When to choose
- you use Python dataclasses and need easy JSON round-tripping
- you want typed decoding of JSON with minimal boilerplate
- you need letter-case mapping between Python fields and JSON keys
- you want optional schema validation on deserialization
When to avoid
- you need high-performance serialization for large datasets
- you prefer pydantic-style validation with rich constraints
- you need serialization formats other than JSON
Facets
library · maturity stable
serialization developer-tools apis python dataclasses -serialization schema-validation letter-case data-engineering
2 sources
- readme: https://github.com/lidatong/dataclasses-json · fetched 2026-08-28 · 9de75d64b70c
- registry_pypi: https://pypi.org/pypi/dataclasses-json/json · fetched 2026-08-29 · 6f8dc0e6aafd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lidatong/dataclasses-json | main | 59 |
For agents
markdown · JSON · MCP: product_card(name="lidatong/dataclasses-json")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem