The jsArray
contains dictionaries. So job
is an NSDictionary
. NSDictionary
doesn't have a method named sn
. If you want the value for the key @"sn"
then you need:
for (NSDictionary *job in jsArray) {
NSLog(@"job: %@", job);
NSLog(@"%@", job[@"sn"]);
}