validate id in json response and pull the details associated with the id into the report
Options
Comments
-
An example JSON array, based on what you seem to describe:
[ { "id" : 1, "name" : "john", "number" : 123 }, { "id" : 2, "name" : "jane", "number" : 456 }, { "id" : 3, "name" : "joe", "number" : 789 } ]Name for id 2 would be: /root/item[id='2']/name/text()
Number for id 2 would be: /root/item[id='2']/number/text()0 -
Thank you, i will try the xpath
0