4 ms·
I use https://github.com/itchyny/gojq https://github.com/itchyny/gojq . I like `jq`'s functional style, but I don't like the way it breaks number precision (or
by renewiltord 5y ago
I use https://github.com/itchyny/gojq https://github.com/itchyny/gojq . I like `jq`'s functional style, but I don't like the way it breaks number precision (or used to).
However, for deep `jq` selects I use `<file.json | gron | grep key -C n | norg` where `norg` is `gron --ungron`.
I also prefer `gron` for ad-hoc pipelines and `jq` for longer-lasting ones.