[Solved] JSON response and NSDictionary


You can fetch data from JSON like below way as well,

    id  jsonObjectData = [NSJSONSerialization JSONObjectWithData:webData error:&error];
    if(jsonObjectData){
    NSMutableArray *idArray = [jsonObjectData mutableArrayValueForKeyPath:@"ID"];
    NSMutableArray *nameArray = [jsonObjectData mutableArrayValueForKeyPath:@"Name"];
}

1

solved JSON response and NSDictionary