How to convert key Value as case insensitive in the extract variable policy json payload
<Variable name="keyValue"> <JSONPath>$.keys[?(@.keyValue=='ABC')].keyValue[0]</JSONPath>
Solved! Go to Solution.
I think you want to get the element text, when an attribute on the parent case-insensitively matches a specific value.
And JsonPath doesn't do that. Not in Apigee, not in any JsonPath implementation, as far as I know.
So the way to do the extraction, is to use JavaScript. If you show me an example JSON , I can show you a JS that will extract the value you want. Or you can sort of explore yourself by checking out prior examples that reference JSON here on community.