jsongrep is a command-line search utility and Rust library designed for querying structured data through regular path expressions. It supports JSON, JSONL, YAML, TOML, CBOR, and MessagePack documents. Unlike transformation-oriented utilities, it uses declarative expressions to identify matching paths within nested data structures. Its query engine compiles expressions into deterministic finite automata for efficient searching. Users can locate fields through wildcards, recursive matching, alternatives, and array index selectors. The application supports multiple input files, glob-based filtering, and continuous processing of JSONL streams. Configurable output options include raw values, matching paths, match counts, and machine-readable results for automated workflows.

Features

  • Declarative structured data searching through regular path expressions
  • Support for JSON, JSONL, YAML, TOML, CBOR, and MessagePack formats
  • Efficient query execution using deterministic finite automata
  • Recursive field matching with wildcards, alternatives, and array index selectors
  • Multiple file searching with glob filtering and continuous JSONL stream processing
  • Configurable output formats and reusable Rust library for application integration

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow jsongrep

jsongrep Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of jsongrep!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust JSON Software, Rust Command Line Tools

Registered

22 hours ago