Want to extract value from the NSMutableArray
After services call i got response which is stored in NSMutableArray
`arrayList` = responseData
response data is an Jason string
Below is response data structure.
{
firstSet = (
);
secondSet = {
id = 12;
name = rohan;
};
"status_code" = 200;
success = 1;
}
I want to extract name field and id from the arrayList. This is what i tried, not working me.
[[[arrayList objectAtIndex:0] objectForKey:@"secondSet"] objectForKey:@"name"]];
Error Message -[__NSDictionaryM objectAtIndex:]: unrecognized selector sent to instance 0x7c6763e0
@All Thanks in advance.