Some projects that i work on: https://github.com/wader/fq - query, display and slice binary and text formats using jq https://github.com/jqlang/jq - query and transform JSON github.com/wader/ydls - turn a media website into media file or podcast
Lovely code :) i think the difference is mostly syntax, the concepts are not new, it's generators and yielding using a terse DSL, the rest is similar to other languages i would say. But yes i do use jq mostly fore exploratory and adhoc things where quickly testing things is important.
September 11, 2025 at 9:10 PM
Lovely code :) i think the difference is mostly syntax, the concepts are not new, it's generators and yielding using a terse DSL, the rest is similar to other languages i would say. But yes i do use jq mostly fore exploratory and adhoc things where quickly testing things is important.
Hmm still confused. By default jq uses JSON for input and output so null will be null. Maybe you want the values filter to filter out nulls? ex: $ jq -n '123, null, "null" | values' 123 "null"
August 6, 2025 at 7:28 PM
Hmm still confused. By default jq uses JSON for input and output so null will be null. Maybe you want the values filter to filter out nulls? ex: $ jq -n '123, null, "null" | values' 123 "null"
JSONPath (RFC 9535) might be the only "standardised" JSON query language, or maybe XSLT that i think also has some JSON support. But in my experience i want to do more than just select out things, i also want to transform etc so jq is my goto.
July 28, 2025 at 7:29 AM
JSONPath (RFC 9535) might be the only "standardised" JSON query language, or maybe XSLT that i think also has some JSON support. But in my experience i want to do more than just select out things, i also want to transform etc so jq is my goto.
Nice article! I noticed some of the JSON uses single quotes. BTW i can recommending reading thru github.com/jqlang/jq/bl... and if you want to digg deep the wiki has some great stuff like how assignment is implemented using path expression etc github.com/jqlang/jq/wi...
Nice article! I noticed some of the JSON uses single quotes. BTW i can recommending reading thru github.com/jqlang/jq/bl... and if you want to digg deep the wiki has some great stuff like how assignment is implemented using path expression etc github.com/jqlang/jq/wi...