←back to thread

Show HN: JSON Query

(jsonquerylang.org)
147 points wofo | 1 comments | | HN request time: 0s | 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
tcdent ◴[] No.45723914[source]
Doesn't the command-line utility `jq` already define a protocol for this? How do the syntaxes compare?

(LLMs are already very adept at using `jq` so I would think it was preferable to be able to prompt a system that implements querying inside of source code as "this command uses the same format as `jq`")

replies(2): >>45724408 #>>45725846 #
jonny_eh ◴[] No.45724408[source]
For convenience: https://en.wikipedia.org/wiki/Jq_(programming_language)
replies(1): >>45725851 #
cryptonector ◴[] No.45725851[source]
Oh wow, it got undeleted. Some editor insisted on deleting it because it was a "personal project" (Stephen Dolan's) even though it has a huge user base. I guess now that it has a proper "org" in GitHub it's different. What nonsense.
replies(3): >>45725937 #>>45725968 #>>45730437 #
rendall ◴[] No.45725968[source]
Wikipedia is such a disappointment
replies(2): >>45735063 #>>45735214 #
millerm ◴[] No.45735214[source]
How could you even type such a ridiculous statement?
replies(1): >>45735591 #
1. lioeters ◴[] No.45735591{3}[source]
Seriously, Wikipedia has been of immense value to society and education.

Yes there are issues with ideologically motivated moderators, poorly cited articles, etc. But even with its flaws, it's an amazing resource provided to the public for free (as in coffee and maybe as in speech also).