Hi Team,
I have below JSON structure
data.searchByUserName.customerDetails....
data.searchByLastName.customerDetails....
data.searchByUUID.customerDetails....
data.searchByDOB.customerDetails....
While creating a search query I need to give the search type highlighted above in bold wild char like
data.*.customerDetails is there any way I can achieve it?
Thanks in Advance!
You could edit the JSON with replace or rex so that the searchBy... objects all have the same name, then use spath with that name.