json-tools-rs
High-performance JSON manipulation library with SIMD-accelerated parsing, Rayon parallelism, and native DataFrame/Series support
Decision gist · record as of 2026-08-14
Yes, if you need to flatten or unflatten JSON at scale with minimal dependencies and cross-language support. The Rust backend and parallelism make it well-suited for batch processing and large nested structures. Install friction is moderate due to compiled wheels, but pre-built binaries cover common platforms. No security issues and active maintenance are positive signals. Consider it especially if you're already using Pandas, Polars, or PyArrow and want native DataFrame integration.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; pre-built wheels available for Linux (x86_64, ARM, i686, ppc64le), macOS (x86_64, ARM64), and Windows (x86_64).
- Medium install friction due to compiled Rust bindings, but wheels are pre-built for common platforms (Linux x86_64, ARM, macOS, Windows).
- Active maintenance with release 5 days ago and no known vulnerabilities.
License · maintenance · safety
MIT OR Apache-2.0 (permissive) — Dual-licensed MIT OR Apache-2.0, both permissive; you may choose either license terms for your use.
last release 2026-08-09 (5 days) · last repo commit 2026-08-10
0 known vulnerabilities (OSV.dev, 2026-08-14) · 148,489 downloads/mo, #11,030 on PyPI
Alternatives
Verify before relying
pip install json-tools-rs
import json_tools_rs as jt
result = jt.JSONTools().flatten().execute({"user": {"name": "John", "age": 30}})
print(result) # {'user.name': 'John', 'user.age': 30}- Whether the parallel processing (Rayon-based work-stealing pool) provides measurable speedup for typical batch sizes in production workloads.
- Performance comparison with other JSON flattening libraries to validate the SIMD and parallelism claims.
- Whether DataFrame/Series support (Pandas, Polars, PyArrow, PySpark) is feature-complete or has known limitations.
What it is and what it does
json-tools-rs is a Rust-backed JSON transformation library that flattens nested structures into flat key-value pairs (e.g., `{"user": {"name": "John"}}` becomes `{"user.name": "John"}`) and unfolds them back with perfect roundtrip fidelity. It uses SIMD-accelerated parsing and optional Rayon-based parallelism for batch operations, making it suitable for processing large volumes of JSON documents or deeply nested structures. The library ships with both Rust and Python bindings and integrates natively with Pandas, Polars, PyArrow, and PySpark DataFrames.
The builder-pattern API lets you chain configuration methods—separator customization, key/value filtering and replacement (literal or regex), type conversion, collision handling, and date normalization—before executing the transformation. Python bindings preserve input type (dict in, dict out; DataFrame in, DataFrame out), and the package depends only on orjson for JSON serialization. It's in Beta status, actively maintained, and carries no known security vulnerabilities.
Use it for
- Flatten API responses or user-uploaded JSON for database insertion or CSV export.
- Normalize and clean messy JSON data from external sources by removing nulls, empty strings, and applying regex-based key/value replacements.
- Batch-process large collections of nested JSON documents in parallel for analytics or ETL pipelines.
- Convert nested JSON to wide-format DataFrames (Pandas, Polars, PyArrow) for data analysis without manual schema mapping.
- Roundtrip JSON through flatten and unflatten cycles while applying transformations (type conversion, filtering) to preserve data fidelity.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to flatten or unflatten JSON at scale with minimal dependencies and cross-language support.
The Rust backend and parallelism make it well-suited for batch processing and large nested structures. Install friction is moderate due to compiled wheels, but pre-built binaries cover common platforms. No security issues and active maintenance are positive signals. Consider it especially if you're already using Pandas, Polars, or PyArrow and want native DataFrame integration.
Install
json-tools-rs on PyPI
Before you install
Medium install friction due to compiled Rust bindings, but wheels are pre-built for common platforms (Linux x86_64, ARM, macOS, Windows). Active maintenance with release 5 days ago and no known vulnerabilities.
Requires Python 3.9 or later; pre-built wheels available for Linux (x86_64, ARM, i686, ppc64le), macOS (x86_64, ARM64), and Windows (x86_64).
License in practice
Dual-licensed MIT OR Apache-2.0, both permissive; you may choose either license terms for your use.
Quickstart
pip install json-tools-rs
import json_tools_rs as jt
result = jt.JSONTools().flatten().execute({"user": {"name": "John", "age": 30}})
print(result) # {'user.name': 'John', 'user.age': 30}
Verify before relying
- Whether the parallel processing (Rayon-based work-stealing pool) provides measurable speedup for typical batch sizes in production workloads.
- Performance comparison with other JSON flattening libraries to validate the SIMD and parallelism claims.
- Whether DataFrame/Series support (Pandas, Polars, PyArrow, PySpark) is feature-complete or has known limitations.
Package facts
| License | MIT OR Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packageorjson |
| Maintenance | Actively maintained 5 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 148,489 / month, #11,030 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: RustTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: GeneralTopic :: Utilities |
Evidence: json_tools_rs-0.9.30-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; json_tools_rs-0.9.30-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; json_tools_rs-0.9.30-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl; json_tools_rs-0.9.30-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; json_tools_rs-0.9.30-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; json_tools_rs-0.9.30-cp310-cp310-musllinux_1_2_aarch64.whl; json_tools_rs-0.9.30-cp310-cp310-musllinux_1_2_armv7l.whl; json_tools_rs-0.9.30-cp310-cp310-musllinux_1_2_i686.whl; json_tools_rs-0.9.30-cp310-cp310-musllinux_1_2_x86_64.whl; json_tools_rs-0.9.30-cp310-cp310-win_amd64.whl; json_tools_rs-0.9.30-cp311-cp311-macosx_10_12_x86_64.whl; json_tools_rs-0.9.30-cp311-cp311-macosx_11_0_arm64.whl; json_tools_rs-0.9.30-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; json_tools_rs-0.9.30-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; json_tools_rs-0.9.30-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl; json_tools_rs-0.9.30-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; json_tools_rs-0.9.30-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; json_tools_rs-0.9.30-cp311-cp311-musllinux_1_2_aarch64.whl; json_tools_rs-0.9.30-cp311-cp311-musllinux_1_2_armv7l.whl; json_tools_rs-0.9.30-cp311-cp311-musllinux_1_2_i686.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “json transformation library”
- json-tools-rsFlattens and unflattens nested JSON structures with SIMD-accelerated…
- json-eParameterizes and transforms JSON data structures by embedding…
- glomglom provides path-based access and declarative transformation of…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also flatten-json · pysimdjson · RUST · json-flatten · json-e · flatten-dict · jiter · optree · toons · sqlfluffrs