Nick Nisi shared this with me recently and it’s cool, so I thought I’d pass it along. Here’s Nick describing it:
And it is a visual wrapper around
jq, that kind of does the
fzftype thing where as you’re writing out your query, it’s live showing you a preview in virtual text of exactly what would get returned by what you’re querying as you go. So you can use that as a nice tool to build out your
jqsyntax, or your
jqquery, and in real time get that feedback.
The only bummer is that it’s written in Ruby. Don’t get me wrong, I love Ruby. But it requires you to have Ruby tooling on your machine to use
jqq, which many people don’t have or want. BUT it’s a mere 241 lines of code, so porting it to something a little more portable shouldn’t be too much work…