How to use conditions in json-path-expressions?
I need a JSON Path expression such that if obj.test.param1
has the suffix _END
then the expression should evaluate to the value of obj.test.param1
otherwise it should evaluate to the value of obj.test.param2
.
This is the expression I have-
How to assign one out of two attributes based on a condition using jsonPathExpressions?
I need a JSON Path expression such that if obj.test.param1
has the suffix _END
then the expression should evaluate to the value of obj.test.param1
otherwise it should evaluate to the value of obj.test.param2
.
This is the expression I have-