4 ms·
I really love the jq language but I totally agree that the complexity skyrockets once you peek at the 'advanced' features because this neat little query languag
by Spivak 7y ago
I really love the jq language but I totally agree that the complexity skyrockets once you peek at the 'advanced' features because this neat little query language turns into a full programming language with io, variables, modules, functions. Very similar to AWK.
If you want something that is just a good query language then I would highly recommend JMESPath. It's a little harder to grok initially but the spec is extremely detailed, comes with examples, and there's libraries for all the 'popular' programming languages.
A good CLI tool that wraps the Go library is https://github.com/jmespath/jp https://github.com/jmespath/jp