I have a response coming from API call, I want to loop through the response to display it on UI.
IRestResponse response = client.Execute(request);
string responseContent = response.Content;
[
{
"details": {
"ID": "STUD_111",
"language": "en",
"PersonalInfo": {
"lastName": "Dias",
"firstName": "Peter"
}
},
"Score": {
"attemptes": { "numOfAtmpt": 1 },
"marks": {
"total": 100,
"min": 30,
"achieved": "55"
},
"grade": {
"card": [
{
"gradeObtained": "B",
"passingGrade": {
"Min": "C",
"Avg": "B",
"Max": "A"
}
}
]
}
}
}
]
I am getting above response in responseContent variable. Need a way to display above information on UI.
>(jsonString);" you should be able to loop through the response.
– Sydney_dev Sep 14 '22 at 08:29