NSArray Returning String Instead of Dictionary
问题 I've setup logs and checked the code and NSArray is being returned as a string instead of a dictionary. The problem is that I'm not sure how I can convert this particular string into a dictionary and I'm running on a tight timeframe. Here's the code: NSArray* placeJson = [NSJSONSerialization JSONObjectWithData:jsonResponse options:kNilOptions error:nil]; for (NSDictionary *placeJsons in placeJson) { NSLog(@"%@",NSStringFromClass([placeJsons class])); page = placeJsons[@"page"]; NSLog(@"%d"