Re:Varlink – A plain-text, type-safe, discoverable, self-doc...
by Spivak on Sunday September 15, 2019 @08:46AM
(#20976978)
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.
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