jsongrep

micahkepe·micahkepe.jsongrep

JSONPath-inspired query language for JSON, YAML, TOML, and other serialization formats

jsongrep is a command-line tool providing a JSONPath-inspired query language for searching and filtering JSON, YAML, TOML, CBOR, and MessagePack data. It supports wildcards, recursive descent, array slicing, filter expressions, and regex matching.

winget install --id micahkepe.jsongrep --exact --source winget

Latest 0.10.0·August 28, 2026

Release Notes

Release 0.10.0 of jsongrep What's Changed

  • chore(deps): drop unused regex, log, env_logger, clap-verbosity-flag by @vlasky in #40
  • chore(tests): delete tests/lib.rs so the CLI suite runs once, not twice by @vlasky in #47
  • fix(parser): reject /regex/ queries cleanly; make [usize::MAX] well-defined by @vlasky in #41
  • fix(cli): read input as bytes; fall back from mmap for non-regular files by @vlasky in #42
  • fix(dfa): cap state count during determinization (bounded compilation) by @vlasky in #43
  • fix(cli): make --porcelain honest - force colors off, imply --compact by @vlasky in #48
  • feat(cli): -r/--raw-output prints matched strings unquoted (jq -r) by @vlasky in #44
  • ci: test on macOS/Windows, add MSRV job, cache, full-target clippy, doc gate by @vlasky in #56
  • ci(release): gate cargo publish on tests and binary builds; pin actions by SHA by @vlasky in #57
  • fix(ast): keep '.' separator where omitting it changes query meaning by @vlasky in #53
  • perf(output): skip unused path strings and stop formatting on broken pipe by @vlasky in #38
  • perf(dfa): eliminate per-key allocations on the document-walk hot path by @vlasky in #35
  • feat(cli): -e/--exit-status and -q/--quiet with grep exit codes by @vlasky in #45
  • perf(cli): parse JSONL per line instead of building a synthetic array string by @vlasky in #37
  • fix(grammar): accept chained array accesses like foo[0][1] by @vlasky in #52
  • fix(parser): decode UTF-16 surrogate pairs in quoted fields by @vlasky in #51
  • feat(cli): multiple file arguments, file headings, -l/--files-with-matches by @vlasky in #49
  • fix(ast): parenthesize modified display operands that need it by @vlasky in #54
  • perf(dfa): rework subset construction around bitsets and a label-symbol table by @vlasky in #36
  • fix(ast): elide empty subqueries in sequence display by @vlasky in #58
  • perf(dfa): visitor-based traversal with early exit, find_limited, -m/--max-count by @vlasky in #39
  • test: add property-based suite for parse, DFA build, and display by @vlasky in #59
  • feat(cli): --glob + --files options by @micahkepe in #60

New Contributors

  • @vlasky made their first contribution in #40

Installer type: zip

x64—5A906A6E2A0DB04A83507A97282CA9419AA656EBCA8E9804139F4C80DF95B896

Details

Homepage
https://github.com/micahkepe/jsongrep
License
MIT
Publisher
micahkepe
Support
https://github.com/micahkepe/jsongrep/issues
Moniker
jg

Tags

clicommand-linecommand-line-toolgrepjsonjsonpathrustsearchtomlyaml

Older versions (2)

0.9.0
x64—28EE98D22B78FECC7ABEA7D2BD4C6BBA3934F34628B259D75EDC4B7C865B073A
0.8.0
x64—B00F748D572E97644EF88CDD664931A501DE6496C32C7568A2FF87DA9028AE53