How to determine if the json result has an array object named data and get all of its parent object names
I have Web API dynamic returns as follow: { "result": true, "payload": { "data": [ { "class": "Platinum", "name": "William", "title": "Mr." }, { "class": "Silver", "name": "Susan", "title": "Ms." }, { "class": "Platinum", "name": "Jack", "title": "Mr." } ]…