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
One Monitoring Tool for IT, OT and Cloud | Free Trial Icon
One Monitoring Tool for IT, OT and Cloud | Free Trial

Vendor-agnostic monitoring across on-prem servers, cloud platforms and OT devices, all in one dashboard. No more tool sprawl.

Modern infrastructure spans data centers, cloud platforms and factory floors, and every blind spot between them is a risk. PRTG supports SNMP, WMI, SSH and other standard protocols to monitor IT, OT and hybrid environments through one customizable dashboard. Build the views your team needs, from network health to application performance, without switching tools. Try PRTG free for 30 days now.
Try PRTG 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