How to conditionally extract a Json value using JayWay JsonPath?
I have the following JSON: { "A":{ "C":{ "date":"2022-01-23" } }, "B":{ "D":{ "date":"2022-01-24" } } } I would like to extract the value $.A.C.date if it is not null, else I would like to extract $.B.D.date. Basically I would…