Scan your whole stack
Are you using jsonatapy?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.3.0
jsonatapy was last scanned on 28 Nov 2026 at version 2.3.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.3.0 LATEST | 28 Nov 2026 | No rules fired |
| 2.2.17 | 28 Nov 2026 | No rules fired |
| 2.2.16 | 27 Nov 2026 | No rules fired |
| 2.2.15 | 18 Nov 2026 | Not shown |
| 2.2.14 | 4 Nov 2026 | Not shown |
Findings for v2.3.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.3.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Click the chart for the full category-by-category tables, including jsonata-python and jsonata-rs, which are left off the chart because at 67 ms–9 s they would flatten everything else into a sliver.
High-performance JSONata implementation in Rust, with Python binding and C ABI/library. If you use this library, please add a github star!
Much of this project was built using Claude Code with significant human oversight. There was no performant JSONata implementation in Python, so the goal was to port JSONata to Rust (with a PyO3 wrapper for Python) and see how fast it could go. The answer: faster than V8 for most expression workloads, and faster than the next pure-Rust implementation. The rust versions are published on crates.io, and the python wheels on pypi. There is also a command-line binary and Python command-line available (works great with uvx) for use in scripting. The Python library is also usable in a command-line fashion, and a C-compatible library is available for those who want to easily use jsonata in C/C++.
Many, many thanks to the incredible work of all the maintainers of the JSONata reference library. JSONata is a very powerful, well-designed, expressive and useful language that has made an impact on many projects. This project leverages their outstanding work to extend that capability to Python and Rust and would not be possible without that project. The implementation in Rust was strongly influenced by their implementation. The 1600+ (1972/1972 passing for last build of this project) tests they created provided the scaffolding and validation for all of this project. This project will continue to follow and be a derivative of the reference project as the JSONata reference library evolves.
Release versions will follow the reference jsonata-js project major and minor release numbers, but not necessarily patches. This will make it easier for adopters of this library to understand each release's JSONata API compatibility. As an example, 2.2.8 should be compliant with 2.2.x jsonata-js tests, but may have fixes specific to this library. If a patch release for jsonata-js is relevant for this project, it will be included in a patch release that may or may not follow the patch numbers of the upstream project. "Major" versions of this library that don't include any updates to follow jsonata-js conformance will be "named" in release notes/changelog.
This project currently chooses not to implement async at this time, because it has limited value for most of the most common use-cases and the overhead of the async functionality would slow down synchronous use cases. We focused on sync performance instead.
| jsonata-core | jsonatapy | |
|---|---|---|
| Language | Rust | Python |
| Published on | crates.io | PyPI |
| Install | cargo add jsonata-core |
pip install jsonatapy |
| Use when | You're writing Rust | You're writing Python |
jsonatapy is a thin PyO3 wrapper around jsonata-core. Both live in this repo.
use jsonata_core::evaluator::Evaluator;
use jsonata_core::parser;
use jsonata_core::value::JValue;
let ast = parser::parse("orders[price > 100].product")?;
let data = JValue::from_json_str(r#"{"orders":[
{"product":"Laptop","price":1200},
{"product":"Mouse","price":25}
]}"#)?;
let result = Evaluator::new().evaluate(&ast, &data)?;
# Cargo.toml
[dependencies]
jsonata-core = "2.3.0" # pure Rust, no Python dependency
# Optional: disable SIMD for constrained targets
jsonata-core = { version = "2.3.0", default-features = false }
pip install jsonatapy
import jsonatapy
# One-off evaluation
result = jsonatapy.evaluate('"Hello, " & name', {"name": "World"})
print(result) # "Hello, World"
# Compile once, evaluate many times (10–1000x faster for repeated use)
expr = jsonatapy.compile("$sum(orders.(quantity * price))")
result = expr.evaluate({
"orders": [
{"product": "Laptop", "quantity": 2, "price": 1200},
{"product": "Mouse", "quantity": 5, "price": 25},
]
})
print(result) # 2450
# Pre-convert data once for maximum throughput
data = jsonatapy.JsonataData(large_dataset)
result = expr.evaluate_with_data(data) # 3–15x faster than evaluate(dict)
Supports Python 3.11, 3.12, 3.13, 3.14, 3.15 on Linux, macOS (Intel & ARM), and Windows.
Both packages also ship a binary CLI and a Python-based CLI, jq-shaped, with an identical contract:
pip install jsonatapy
echo '{"orders":[{"product":"Laptop","price":1200}]}' | jsonatapy 'orders[price > 100].product'
# "Laptop"
See CLI Reference for the full flag/exit-code contract.
The engine exposes a small C ABI (8 functions, JSON text in/out), usable from C, C++, or any language with C interop:
JsonataExpr *expr = jsonata_compile("$sum(items.price)");
char *result = jsonata_evaluate(expr, "{\"items\":[{\"price\":2},{\"price\":3}]}");
// result: "5"
jsonata_free_string(result);
jsonata_free_expr(expr);
Build with cargo build --release --features capi and include
bindings/c/jsonata.h. See the
C API guide for linking (gcc/clang, Makefile,
CMake), the memory/threading contract, and error handling.
JSONata is a query and transformation language for JSON data:
person.nameproducts[price > 50]items.{"name": title, "cost": price}$sum(orders.total)price > 100 ? "expensive" : "affordable"See official JSONata docs for the full language reference.
jsonata-core passes 1972/1972 JSONata reference tests and is the fastest JSONata
implementation available in either Rust or Python:
cargo bench)Context-based) repeated-evaluation pathFor large array workloads, pre-convert data once with jsonatapy.JsonataData and reuse it
across queries — this avoids the Python↔Rust conversion cost that otherwise dominates:
data = jsonatapy.JsonataData(large_dataset)
result = expr.evaluate_with_data(data) # 3–15x faster than evaluate(dict)
See Performance docs for the full category-by-category breakdown and benchmark methodology.
simd-json, enabled by default (disable with --no-default-features)# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Clone
git clone https://github.com/txjmb/jsonata-core.git
cd jsonata-core
# Build and install Python extension
pip install maturin
maturin develop --release
# Run Python tests
pytest tests/python/ -v
# Run Rust benchmarks (no Python required)
cargo bench --no-default-features --features simd
MIT — see LICENSE.
This project implements the JSONata specification. jsonata-js (the reference implementation) is also MIT licensed.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.