Jsongrep
lastmod 2026-03-30created 2026-03-301 edits
Faster than jq
About
- A Rust CLI tool that navigates JSON documents by path, with faster search than existing jq, jmespath, jsonpath-rust, and jql
- Expresses queries as a regular language compiled into a DFA, and traverses the JSON tree in a single pass, processing in O(n) time
- Minimizes memory allocation by using serde_json_borrow, which supports zero-copy parsing, and is designed with reference to ripgrep's performance philosophy
- In benchmarks, it has the best end-to-end performance even on large JSON, and provides a simple, search-focused query language
- Released under the MIT license, and the DFA-based query engine can be reused as a Rust library