Forum Discussion
I solved the problem with
jsonPath($, “$person.jive.profile[?(value.jive_label==‘Country’)].value”).length > 0 ? jsonPath($, “$person.jive.profile[?(value.jive_label==‘Country’)].value”)[0] : null
nganapathiraju
8 years agoFormer Employee
Another way
jsonPath($, "$person.jive.profile[?( @.jive_label=='Country' && @.value != '' )].value").toString()