Comparison
simplejson vs superjson vs ujson
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Simple, fast, extensible JSON encoder/decoder for Python
Actively maintained. Last release 3 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install simplejsonExtendable json encode/decode library.
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install superjsonUltra fast JSON encoder and decoder for Python
Actively maintained. Last release 4 weeks ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install ujsonIn short
- superjson looks abandoned: avoid it for new projects.
- simplejson is the most used: 51.9M downloads a month, 1.8× more than ujson.
- Maintenance is comparable: ujson 93, simplejson 83 on Pythie’s Index.
- simplejson is growing fastest: downloads +11% over the last month.
- Safe default for a new project: simplejson.
Side by side
| Metric | simplejson | superjson | ujson |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | 12 |