Show HN: ijq – Interactive jq
sr.ht
sr.ht
ijq file.jsonAlthough I wonder if one can build a reasonable ad-hoc approximation with fzf and/or entr.
echo '' | fzf --print-query --preview 'jq {q} input.json'
This was posted the last time this came up.I will say, though, that a couple things ijq can do that the fzf snippet cannot are autocompletions of JSON keys (very useful IMO when working with large documents) and the ability to read in from stdin, which allows ijq to be used in a pipeline.
That said, the fzf solution seems great for quick one-offs!