jsongrep is a command-line tool and Rust library for querying structured data with a JSONPath-inspired language based on regular path expressions.
It can read from files or standard input, focuses on matching paths through nested data, and is designed for fast querying of serialized documents rather than transformation pipelines.
This is free and open source software.
Key Features
- Supports JSON, JSONL/NDJSON, YAML, TOML, CBOR, and MessagePack documents.
- Auto-detects input format from file extension and also accepts an explicit format flag.
- Can print matched path locations, suppress path headers, or force them when output is piped to other tools.
- Includes fixed-string field search at any depth, case-insensitive search, and match counting options.
- Generates shell completions and man pages from the command line.
Website: github.com/micahkepe/jsongrep
Support:
Developer: Micah Kepe
License: MIT License

jsongrep is written in Rust. Learn Rust with our recommended free books and free tutorials.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.