Forum Discussion
Those square bracket is for visually stating you need to replace those with actual value without the bracket itself and you are missing the ampersand character between any variable you are passing.
- SpiroTaleski9 months agoValued Contributor
Not sure if JSONPath itself natively support case-insensitive comparison or regex matching directly(considering that it only returns single value).
Case insensitivity in native JSONpath is based on the engine. The example from the first message in the thread :
[?(@.email =~/yomomma@notreal.com/i )] [?(/yomomma@notreal.com/i.test(@.email))]
are from two of the libraries supported in jsonquerytoole.com (dchester and Goessner).
I have no idea which one Snaplogic is using, but I'm guessing neither of those as those examples don't work.
Related Content
- 4 months ago
- 10 months ago
- 3 years ago
- 5 years ago