Hacker GitHub

← All repos

ijl/orjson

View on GitHub ↗ ★ 8,283 Python

Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy

12 mentions on Hacker News by 8 people: 6 stories, 6 comments · first 2018-12-19 · latest 2026-02-15

Mentions per year 12 mentions · busiest year 2020 (3)
20082026
  1. …it is often used as replacement of than JSON functions in core Python 3. As of Jan 29th 2026 ( https://github.com/ijl/orjson/commit/d58168733189f82b3fd0c05... ) open issue tracker or pull requests has been removed from the orjson repo due…
  2. …to not publish this, I'm just this evil.) I've looked into replacing ujson in pydantic with orjson (https://github.com/ijl/orjson). In this implementation, the same JSON library is used for everything, and JSON outputs bytes without…
    comment by 3r7j6qzi9jvnve · 2024-06-06 · in JSON extra uses orjson instead of ujson (2019)
  3. …same way pandas was used (ie, `python -c "..."`)? [0] https://github.com/ultrajson/ultrajson [1] https://github.com/ijl/orjson
  4. …to serialization, which can be addressed by swapping in a fast serialization library like orjson ( https://github.com/ijl/orjson ). Though even then you’d probably have a hard time getting to tens of milliseconds. Other common culprits:…
  5. …looking for a fast JSON lib for CPython, orjson[1] (written in rust) is the best I've found. [1] https://github.com/ijl/orjson#performance
  6. …(and my favorite) JSON (de)serializer available for Python, orjson[1], does not support pypy. [1] https://github.com/ijl/orjson