Forget about jq. JSONata is much more powerful - http://docs.jsonata.org/overview.html
Extracting Objects Recursively with Jq
21–30 of 76 posts
Re: Extracting Objects Recursively with Jq
#22I tend to use jq a lot. As others have said, sometimes jq can be hard to grasp. Often it requires multiple attempts to get the correct answer. To make it a little easier for me, I've written a helper function[0] that combines it with fzf[1] to run jq as a REPL on any json. It allows to incrementally alter your DSL without having to continually call jq. This is similar to jid/jiq but a little more powerful. It include…
Re: Extracting Objects Recursively with Jq
#23Forget about jq. JSONata is much more powerful - http://docs.jsonata.org/overview.html
You an author or something?
Re: Extracting Objects Recursively with Jq
#24I've really loved having jq at my disposal ever since learning about it, but I feel like it took the combination of it and gron [1] to really transform my debugging and JSON workflows. 1: https://github.com/TomNomNom/gron
Re: Extracting Objects Recursively with Jq
#25jq seems incredibly powerful. I only find myself using it a few times a year though, and have never been able to conceptualize the syntax enough to use it without prodigious googling.
Think of it just like bash. jq is the ultimate functional language and/or ETL tool. If I look back at larger jq transforms I've written a while ago (e.g. https://git.io/JBSfB ) they still make perfect sense to me.
Re: Extracting Objects Recursively with Jq
#26I love jq for many reasons: * it is very potent * it has extensive documentation, written more like parabolas and new-age sorcery than actually helpful content * it improves your search skills greatly, for many internet results try to give sense to its format * it gives great satisfaction after you've died-and-retried 300x a whole afternoon for a command you'll only need once. * it looks cool to use jq instead of [an…
Re: Extracting Objects Recursively with Jq
#27Re: Extracting Objects Recursively with Jq
#28Re: Extracting Objects Recursively with Jq
#29I tend to use jq a lot. As others have said, sometimes jq can be hard to grasp. Often it requires multiple attempts to get the correct answer. To make it a little easier for me, I've written a helper function[0] that combines it with fzf[1] to run jq as a REPL on any json. It allows to incrementally alter your DSL without having to continually call jq. This is similar to jid/jiq but a little more powerful. It include…