Forum Discussion
Don
9 months agoNew Contributor II
While this would be a functional workaround, I was hoping to perform the whole operation through a purely jsonPath query.
SpiroTaleski
9 months agoValued Contributor
Not sure if JSONPath itself natively support case-insensitive comparison or regex matching directly(considering that it only returns single value).
- Don9 months agoNew Contributor II
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.