One of our data providers gives us hundred megabyte json files. Whenever there is a problem with the data they request examples, jq
is invaluable in those instances.
To A Man With `jq`, Everything Looks Like JSON
Submitted 1 year ago by ishanpage@programming.dev to programming@programming.dev
https://ishan.page/blog/2023-12-07-jq-hammer-nails/
Comments
mrkite@programming.dev 1 year ago
superbirra@lemmy.world 1 year ago
yeah,
ls | while read file; do echo blabla $file; done
joyjoy@lemm.ee 1 year ago
For everything else, there’s
yq
,xq
, andtomlq
.snowe@programming.dev 1 year ago
I use all these tools so little that I have to relearn them every single time, making them much less useful to me than they would be otherwise.
kogasa@programming.dev 1 year ago
yq is a wrapper around jq iirc and has the same syntax, but it do yaml.
Small disclaimer that i think there may be 2 tools known as yq and this is only true of one of them.
CmdrKeen@lemmy.today 1 year ago
And
jc
, apparently: programming.dev/post/7063427