I'm using the JSON path to my elaborate. I need to find all final leaves nodes which contain a specific string. Suppose you have a json :
{ 'nested' :{
'leaf1' : 'MY_STRING_TO_FIND'
},
'leaf2' : 'MY_STRING_TO_FIND'
}
my purpose is to output leaf1 and leaf2