4 ms·
If you’re like me and use jq infrequently enough that you have to consult the documentation every time, try gron. It’s greppable json https://github.com/tomnom
by tambourine_man 3y ago
If you’re like me and use jq infrequently enough that you have to consult the documentation every time, try gron. It’s greppable json
https://github.com/tomnomnom/gron https://github.com/tomnomnom/gron
- Galanwe 3y agoDamn thats incredibly well thought! You can even `gron | grep | sed | gron -u`. Awesome tool thanks for sharing.
- zimpenfish 3y agoI do this for archiving my YouTube watchlist into git - all the video/thumbnail/subtitle URLs are dynamic with expiry which makes them pointless to keep around. A quick `gron | sed | gron -u` replaces them all with "URL" and my diffs are much smaller and happier now.
- xiphias2 3y agoIf you like gron, try fastgron :) It supports everything gron supports, but 50x faster.
- preommr 3y agoWow, that's a pretty cool - so simple but so useful. I'll also share that I've been using `curl cheat.sh/jq` (cheat.sh in general is a great resource) for years. Although now I'd probably use something like chatgpt.
- jkrubin 3y agoChad is super helpful with jq!
- dewey 3y agoI was always struggling with the jq syntax...but I'm consistently impressed by ChatGPT coming up with the right commands from an example JSON.