←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 #
1. jonny_eh ◴[] No.45725937[source]
Maybe it helped that they called it a "programming language"? It helps make it sound super serious.