by tmtvl on 5/2/25, 12:15 PM with 57 comments
by ilyash on 5/3/25, 4:58 AM
More at "jq is a symptom" - https://ilya-sher.org/2018/09/10/jq-is-a-symptom/
Related and might be interesting - "JSON tools for command line" - https://ilya-sher.org/2018/04/10/list-of-json-tools-for-comm...
by behnamoh on 5/2/25, 2:39 PM
$ echo "$json" | cljq '(? $ "root" * 1)'
more intuitive than the good ol' jq $ echo "$json" | jq '.root | map(.[1])'
Really, people should know by now that jq does point-free programming.by cube2222 on 5/2/25, 2:05 PM
Had similar thoughts a couple years ago, and wrote jql[0] as a jq alternative with a lispy syntax (custom, not Common Lisp), and I’ve been using it for command-line JSON processing ever since!
by forty on 5/2/25, 4:36 PM
I like jq and gnuplot quite well. Makes me want to try CMake out ;)
by account-5 on 5/2/25, 3:26 PM
by gray_-_wolf on 5/2/25, 1:51 PM
by diggan on 5/2/25, 1:29 PM
Can convert between JSON<>EDN<>YAML<>Transit easily, plus includes a nifty little query language that is basically Clojure, so data transformations/extraction ends up really simple and concise.
I've always liked jq for simple things, but since I never sat down to actually work through the syntax, harder things tend to be too complicated to figure out quickly. Usually end up using Jet instead as if you already know Clojure, you already know the query language Jet uses.
by selkin on 5/2/25, 5:17 PM
This issue is almost negated today: I find myself no longer writing jq queries, or regular expressions (both I am quite proficient in,) but having AI write those for me. This is exactly where the so-called "vibe coding" shines, and why I no longer care about tool specific DSLs.
by vindarel on 5/2/25, 2:46 PM
* [lqn](https://github.com/inconvergent/lqn) - query language and terminal utility for querying and transforming Lisp, JSON and other text files.
(by this person doing nice generative art: https://inconvergent.net/)
by rafram on 5/2/25, 3:00 PM
by pama on 5/2/25, 1:31 PM
by ruuda on 5/3/25, 11:27 AM
by adamgordonbell on 5/2/25, 5:37 PM
But it does also seem like a place where LLMs are handy. Why learn jq or regex or AWK, if you use them infrequently, when you can just ask an llm?
Edit: tutorial: https://earthly.dev/blog/jq-select/
by aidenn0 on 5/2/25, 3:07 PM
[edit]
Removing "Unifont" from the font-family list fixes the problem, so I must have an issue with my unifont install?
by precompute on 5/2/25, 1:05 PM
by peterohler on 5/3/25, 12:23 PM
by pletnes on 5/2/25, 2:39 PM