The tool you're theoretically supposed to use to parse json on the commandline is jq, but I hate jq. Its query language is not intuitive, its behaviors contextual and inconsistent, and I use it...
The tool you're theoretically supposed to use to parse json on the commandline is jq, but I hate jq. Its query language is not intuitive, its behaviors contextual and inconsistent, and I use it far too infrequently to learn my way around its quirks. gron seems ridiculous at first glance, but by turning json into a line-based format, opens it up to manipulation with all the usual line-based unix (or other) tools.
The tool you're theoretically supposed to use to parse json on the commandline is
jq
, but I hatejq
. Its query language is not intuitive, its behaviors contextual and inconsistent, and I use it far too infrequently to learn my way around its quirks.gron
seems ridiculous at first glance, but by turning json into a line-based format, opens it up to manipulation with all the usual line-based unix (or other) tools.This is amazing. The tool I've always wanted but never knew it