←back to thread

Show HN: JSON Query

(jsonquerylang.org)
147 points wofo | 1 comments | | HN request time: 0.199s | source

I'm working on a tool that will probably involve querying JSON documents and I'm asking myself how to expose that functionality to my users.

I like the power of `jq` and the fact that LLMs are proficient at it, but I find it right out impossible to come up with the right `jq` incantations myself. Has anyone here been in a similar situation? Which tool / language did you end up exposing to your users?

Show context
arccy ◴[] No.45724302[source]
In the k8s world there's a random collection of json path, json query, some random expression language.

Just use jq. None of the other ones are as flexible or widespread and you just end up with frustrated users.

replies(1): >>45724775 #
1. voidfunc ◴[] No.45724775[source]
This. Jq is the defacto standard and anytime I come across something else I am annoyed.

Which isn't to say jq is the best or even good but its battle-tested and just about every conceivable query problem has been thrown at it by now.