[Solved] Parse JSON array of objects in Objective C [closed]


for(NSDictionary * dict in ezpoints)
{
    [userPrivacyArray addObject:[dict valueForKey:@"user_privacy"]];
    [LattitudeArray addObject:[dict valueForKey:@"latitude"]];
    [LongitudeArray addObject:[dict valueForKey:@"longitude"]]
}

parse the data using valueForKey using key you can identify your json data and stored into NSArray, NSString where you want.

here userPrivacyArray,LattitudeArray,LongitudeArray all are array.

try this stuff.

3

solved Parse JSON array of objects in Objective C [closed]