I am using this code to get the values of JSON,
NSDictionary *dict = [list objectAtIndex: 0];
vehicleList = [dict objectForKey: @"assets"];
NSString *identity = [dict objectForKey: @"identity"];
for (NSUInteger index = 0; index < [vehicleList count]; index++) {
itemDict = [vehicleList objectAtIndex: index];
NSMutableArray *listVehicles = [itemDict objectForKey: @"identity"];
NSLog(@"Assets: %@", listVehicles);
}
it is working properly and showing exact results
Assets: 34DL3611
Assets: 34GF0512
Assets: 34HH1734
Assets: 34HH1736
Assets: 34YCJ15
I want to use these values to populate an array so that I would use that array for tableview.