https://github.com/tktech/py_yyjson
Fast and flexible Python JSON parsing (and manipulation!) built on the excellent yyjson project.
https://github.com/tktech/py_yyjson
json merge-patch patch performance python yyjson
Last synced: 10 months ago
JSON representation
Fast and flexible Python JSON parsing (and manipulation!) built on the excellent yyjson project.
- Host: GitHub
- URL: https://github.com/tktech/py_yyjson
- Owner: TkTech
- License: other
- Created: 2020-10-22T04:01:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-29T16:17:38.000Z (about 1 year ago)
- Last Synced: 2025-06-02T18:10:32.591Z (about 1 year ago)
- Topics: json, merge-patch, patch, performance, python, yyjson
- Language: Python
- Homepage: http://tkte.ch/py_yyjson/
- Size: 3.45 MB
- Stars: 31
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README


# py_yyjson

Fast and flexible Python JSON parsing built on the excellent [yyjson][]
project.



- **Fast**: `yyjson` is several times faster than the builtin JSON module, and
is [faster than most other JSON libraries][fast].
- **Flexible**: Parse JSON with strict specification compliance, or with
extensions such as comments, trailing commas, Inf/NaN, numbers of any size,
and more.
- **Lightweight**: `yyjson` is a lightweight project dependency with low
maintenance overhead. It's written in C, and has no dependencies other than
a C89 compiler. Built wheels are between 50kb and 800kb depending on the
platform.
- **Portable**: Binary wheels are available for many versions of Python
on many architectures, such as x86, x86_64, ARM, and ARM64, PowerPC, IBM Z,
and more. PyPy is also supported. Supports Python 3.9 and newer.
- **Manipulate documents**: The fastest JSON Merge-Patch (RFC 7386), JSON Patch
(RFC 6902), and JSON Pointer (RFC 6901) implementations available for Python
allow you to manipulate JSON documents without deserializing them into Python
objects.
- **Traceable**: `yyjson` uses Python's memory allocator by default, so you can
trace memory leaks and other memory issues using Python's built-in tools.
## Documentation
Find the latest documentation at https://tkte.ch/py_yyjson.
[yyjson]: https://github.com/ibireme/yyjson
[fast]: https://github.com/tktech/json_benchmark