News for hackers. Stuff that matters.
Re:jq 1.7 released by nikau on Wednesday September 06, 2023 @10:36PM (#37414067)
Use gron for adhoc, then jq to script once you know what you need to do.
Re:jq 1.7 released by goku12 on Thursday September 07, 2023 @12:29AM (#37414779)
I'm going to leave a mention of jless [1] as well here. The purpose should be obvious from the name.

[1] https://jless.io/

Re:jq 1.7 released by medv on Thursday September 07, 2023 @05:12AM (#37416470)
Re:jq 1.7 released by leonim on Thursday September 07, 2023 @12:02PM (#37420990)
I also find VisiData is useful for adhoc exploring of JSON data. You can also use it to explore multiple other formats. I find it really helpful, plus it gives that little burst of adrenaline from its responsive TUI, similar to fx and jless mentioned.

For my toolbox I include jq, gron, miller, VisiData, in addition to classics like sed, awk, and perl.

- https://github.com/saulpw/visidata - http://visidata.org/

Also there is a great introduction: - https://jsvine.github.io/intro-to-visidata/ "Intro to VisiData Tutorial" by Jeremy Singer-Vine