dataclasses-json VS orjson

Compare dataclasses-json vs orjson and see what are their differences.

dataclasses-json

Easily serialize Data Classes to and from JSON (by lidatong)

orjson

Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy (by ijl)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
dataclasses-json orjson
1 17
1,300 5,572
- -
7.1 8.3
6 days ago 8 days ago
Python Python
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dataclasses-json

Posts with mentions or reviews of dataclasses-json. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-11.

orjson

Posts with mentions or reviews of orjson. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-07.

What are some alternatives?

When comparing dataclasses-json and orjson you can also consider the following projects:

dacite - Simple creation of data classes from dictionaries.

ujson

dataconf - Simple dataclasses configuration management for Python with hocon/json/yaml/properties/env-vars/dict/cli support.

ormsgpack - Msgpack serialization/deserialization library for Python, written in Rust using PyO3 and rust-msgpack. Reboot of orjson. msgpack.org[Python]

dataclassy - A fast and flexible reimplementation of data classes

msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML

Elasticsearch - Free and Open, Distributed, RESTful Search Engine

pysimdjson - Python bindings for the simdjson project.

python-youtube - A simple Python wrapper for YouTube Data API :sparkles: :cake: :sparkles: .

cookiecutter-fastapi-firestore

mashumaro - Fast and well tested serialization library