Show HN: jql – Easier jq Alternative with a Lispy Syntax Written in Go
So I guess we all know <a href="https://jsonnet.org" rel="nofollow">https://jsonnet.org</a>, right? It's advertised as a data templating language. Interestingly enough, you can also use it as a querying tool. The first four examples on the jql page can be translated to Jsonnet as follows:<p><pre><code>    $ jsonnet -e "(import 'test.json').countries[0]"
    $ jsonnet -e "(import 'test.json').countries[0:2]"
    $ jsonnet -e "[x.name for x in (import 'test.json').countries]"
    $ jsonnet -e "std.objectFields((import 'test.json').countries[0])"
</code></pre>
With that in mind, I never bothered to learn how to use a tool like jq, rq, jql, etc.