I have the following JSON:
{
\"meta\": {
\"code\": 200
},
\"response\": {
\"deals\": [
{
[[deal valueForKey:@"business"] valueForKey:@"locations"] returns an array. Calling -valueForKey: on an NSArray executes valueForKey: for every object in the array and returns an array of the results (see the NSArray documentation for this). So that's what you get, an array of the corresponding values.