jarq
An interactive jq-like JSON query tool with a TUI.
Should you use this instead of jq? Definitely not, this was just an experiment using a TUI and live filtering.
Usage
# Interactive TUI mode
|
|
# Non-interactive mode (like jq)
|
In interactive mode, type filter expressions and see results in real-time.
Filter Syntax
. # identity
.foo # field access
.[0] # array index
.[] # iterate
.foo.bar # chaining
.foo | length # pipes
# Construction
[.a, .b] # array
{name: .foo} # object
{(.key): .val} # dynamic key
# Builtins
length, keys, values, type, first, last,
reverse, sort, min, max, unique, flatten,
add, empty, not
Building
License
MIT