2016-02-13 45 views

回答

0

最后,我通过自己

//convert the string to nsdata 
NSData *jsonData = [hcResponse dataUsingEncoding:NSUTF8StringEncoding]; 
NSError *error; 
//convert the data to json dictionary 
NSDictionary *jsonDic = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingAllowFragments error:nil]; 
想通