I am attempting to loop through the following JSON object without success:
[
{
"Count": 0,
"GroupId": 1,
"Icon": null,
"Service": [
{
"Count": 0,
"Icon": null,
"ServiceId": 1,
"Type": "Cat"
},
{
"Count": 0,
"Icon": null,
"ServiceId": 2,
"Type": "Dog"
},
{
"Count": 0,
"Icon": null,
"ServiceId": 3,
"Type": "Whale"
}
],
"Type": "Animal carcass removal"
}
]
I need to get to the 'Service' object and append the Type to a dropdown list? I suspect I may need a each loop within a loop by cant seem tog et it right?
Any help would be appreciated.
Thanks