←back to thread

Show HN: JSON Query

(jsonquerylang.org)
147 points wofo | 6 comments | | HN request time: 0.334s | source | bottom

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?

1. jawns ◴[] No.45723690[source]
I'd like to know how it compares to https://jsonata.org
replies(4): >>45723858 #>>45724368 #>>45725041 #>>45731670 #
2. Alifatisk ◴[] No.45723858[source]
Can't you just visit both pages, build an understanding and compare them?
replies(1): >>45724023 #
3. OrderlyTiamat ◴[] No.45724023[source]
Maybe the author would be in a better place to do that, having the expertise already. Also, as a user I'm quite happy with jq already, so why expend the effort?
4. ◴[] No.45724368[source]
5. gnarlouse ◴[] No.45725041[source]
JSONata looks to be more general purpose with its support for variables/statements, and custom functions. I'd probably still stick with JSONata
6. aeberhart ◴[] No.45731670[source]
We wrote an article on this: "JQ vs. JSONata: Language and Tooling Compared". https://dashjoin.medium.com/jq-vs-jsonata-language-and-tooli...