go-jmespath
go-jmespath copied to clipboard
Golang implementation of JMESPath.
Hi, I tried the below code, where we want to search jmes path having **Hyphen "-"**, I'm getting the following error **SyntaxError: Unexpected token at the end of the expression:...
Simple question: How to do a case-insensitive searching with JMESPath? Let's say to search for `foo` in this JSON: ``` [ "foo", "foobar", "barfoo", "bar", "baz", "barbaz", "FOO" ] ```...
Would you please update the license information for the repo? this would be useful - https://help.github.com/articles/licensing-a-repository/
Given following JSON: ```json { "custom:groups": [ "foo", "bar" ] } ``` And the following JMESPath expression: `contains(custom:groups[*], 'foo') && 'Admin' || 'Editor'` Expected expression to evaluate to "Admin". Also...
Is it possible to locate a node in the JSON structure and return it for modification, then use json.Marshall to write the modified JSON struct?
I'm having an issue when executing a JMESPATH query on a `map[string]customType`, here's the code : ```go type testStruct struct { Value interface{} `json:"value"` } func main() { test1 :=...
I have a series of structs to represent my JSON, which I use instead of a generic `interface{}`. My structs have `json:` tags, but JMESPath appears to ignore them.
We need to avoid checks for empty interfaces and `map[string]interface{}` and instead use reflection. This has been fixed in interpreter.go but functions.go needs the same treatment. I'd also like to...
The last one is quite old. SemVer users will be grateful for it! Thanks.
This package has the same name as the parent package, which causes go mod not to load this directory or anything alphabetically after it (parser.go, for example).