Ios6 为什么在iphone中解析json时数组采用空值?

Ios6 为什么在iphone中解析json时数组采用空值?,ios6,Ios6,我正在尝试解析json字符串。但是我不能用下面的代码来做这件事,请帮助我。 以其他方式显示解析json字符串的任何可选代码。 在代码中,我得到了json字符串。但是我不能在任何字典中解析这个字符串。 在这个方法的末尾,我放了三条nslog语句,中间一条在解析时显示nsarray的null值。请帮助我或建议任何替代代码 NSString *JsonString = [NSString stringWithFormat:@"http://bia.igreentechservices.com/ws/w

我正在尝试解析json字符串。但是我不能用下面的代码来做这件事,请帮助我。 以其他方式显示解析json字符串的任何可选代码。
在代码中,我得到了json字符串。但是我不能在任何字典中解析这个字符串。 在这个方法的末尾,我放了三条nslog语句,中间一条在解析时显示nsarray的null值。请帮助我或建议任何替代代码

NSString *JsonString = [NSString stringWithFormat:@"http://bia.igreentechservices.com/ws/ws_registration.php?emailid=%@&password=%@&fname=%@&lname=%@&gender=%@&birthdate=%@&mobile=%@&address=%@&emergency_contact_no=%@&other_contact_no_1=%@&other_contact_no_2=%@",emailAdd,pwd,fName,lName,gen,bDate,mobileNum,add,emergencyContactNum,anotherContactNum1,anothercontactNum2];


-(void)callWebService:(NSString *)JsonString {

SBJsonParser *parser = [[SBJsonParser alloc] init];
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:JsonString]];
NSData *response = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
NSString *Json_string = [[NSString  alloc] initWithData:response encoding:NSUTF8StringEncoding];
registrationDetail = [parser objectWithString:Json_string error:nil];
for(NSDictionary *status in registrationDetail) {
    NSLog(@"%@ ", [status objectForKey:@"registration"]);// here, this output does not show any out put in conlsole.
NSLog(@"%@",response);

NSLog(@"%@",registrationDetail); // here why this line is showing null  as output in console 
NSLog(@"%@",Json_string);
}