Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

dataclasses-json

Serialize and deserialize dataclasses to/from JSON with minimal boilerplate.

Forms, validation and schemasPYPI

GitHubWebsite

1. License

License from PyPI classifier.

github.com/lidatong/dataclasses-json

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What dataclasses-json does

Serialize and deserialize dataclasses to/from JSON with minimal boilerplate.

dataclasses-json popularity

62 / 100
Gid Score, #841 overall
11.7M
downloads a week, pypi
1,488
GitHub stars
6
agent projects use it
dataclasses-json: downloads per weekPyPI, dataclasses-json 11,543,555
dataclasses-json: GitHub starslidatong/dataclasses-json 1,488

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How dataclasses-json is used

  • dataclasses-json is a dependency in 6 of the 6,254 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,063, Ethereum and EVM 1,777, 3D and games 3,120, agent frameworks and SDKs 13,629); counting those, it appears in 533 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Pydantic (537 projects).
  • Projects that use it most often also use NumPy (96.2%), Pydantic (95.7%), aiohttp (95.5%).

By coding agent

5 projects, 0.2%

Often used with

In 96.2% of its projects
In 95.7% of its projects
In 95.5% of its projects
In 94.7% of its projects
In 94.4% of its projects
In 94.0% of its projects
In 93.6% of its projects

More about dataclasses-json

More in Forms, validation and schemas

Alternatives

dataclasses-json This page

MITGid 6211.7M/wk

Pydantic

Data validation and parsing library using Python type hints.

MITGid 86281M/wk

marshmallow

Lightweight library for converting complex datatypes to and from native Python datatypes.

MITGid 7021.3M/wk

cattrs

Structured data serialization for attrs and dataclasses with composition support.

MITGid 518.4M/wk

Compare dataclasses-json with another tool

Get started

Install it.

pip install dataclasses-json

No step-by-step start for dataclasses-json yet: we have not written its hand-checked card.