talira

Compare

UltraJSON (ujson)orjson
What it isFast JSON encoder and decoder for Python, written in CFast, correct JSON library for Python
KindOpen sourceOpen source
Trust0.560.48
Stars45018294
Last commit2026-11-072026-10-07
LicenceBSD-3-Clause AND TCLMPL-2.0 AND (Apache-2.0 OR MIT)
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyUltraJSONijl
Features
  • ujson.dumps and ujson.loads, drop-in for most JSON parsers
  • written in C
  • encode_html_chars and other encoder options
  • native serialisation of dataclasses, datetimes, numpy arrays and UUIDs
  • dumps() about 10x as fast as json
  • loads() about 2x as fast as json, strict UTF-8 and RFC 8259
  • default parameter and output flags
  • wheels for Linux, macOS and Windows on x86-64 and ARM
Limitations
  • In maintenance-only mode: only new Python versions, critical bugs and security fixes are accepted, and its makers recommend orjson instead.
  • Doesn't read or write files or line-delimited JSON itself.
  • Doesn't support PyPy, embedded Python builds for Android or iOS, or PEP 554 subinterpreters.