go-jmespath
go-jmespath copied to clipboard
Golang implementation of JMESPath.
``` echo {"message": "foo"} | jp "merge({message: message}, contextMap)" ``` ``` panic: interface conversion: interface {} is nil, not map[string]interface {} goroutine 1 [running]: github.com/jmespath/go-jmespath.jpfMerge({0xc00004ec20, 0x2, 0xc00000e3c0}) /Users/jamessar/Source/go/pkg/mod/github.com/jmespath/[email protected]/functions.go:520 +0x197 github.com/jmespath/go-jmespath.(*functionCaller).CallFunction(0x70e1c0,...
FORTIFY is throwing vulnerability with Yaml V2, can you please migrate to V3
Hey all - I'm trying to solve https://security.snyk.io/vuln/SNYK-GOLANG-GOPKGINYAMLV3-2841557 which I'm getting via https://github.com/aws/aws-sdk-go. Usually, I'd put a PR in to bump the dependency in the tree but as it seems...
- fix function name `Search`
@jamesls in the fear of speaking in the void, please be aware of [our initiative](https://github.com/jmespath/jmespath.site/issues/94) to ensure the future of [JMESPath](https://jmespath-unofficial.github.io/).
Could be great if one could extend default function list with their own functions.
Following up on https://github.com/jmespath/jmespath.jep/issues/23 > different programming languages have different regular expression implementations Fine, but how about providing a regular expressions function among the [Built-in Functions](https://jmespath.org/specification.html#built-in-functions). The regular expressions will...
Hey @jamesls, Thank you for the great project, I was blown away by how clean this was implemented ! This PR introduces a way to delete multiple keys from an...
`to_number` implementation fails to cast arguments of the standard type `json.Number`. All numbers are converted to json.Number (a mere string) when `UseNumber` has been set on the json Decoder.