标签:style 字典 字符串 turn using option utf8 leaves strong
字典类型的字符串转成字典
- (NSDictionary *)parseJSONStringToNSDictionary:(NSString *)JSONString {
NSData *JSONData = [JSONString dataUsingEncoding:NSUTF8StringEncoding];
NSDictionary *responseJSON = [NSJSONSerialization JSONObjectWithData:JSONData options:NSJSONReadingMutableLeaves error:nil];
return responseJSON;
}
标签:style 字典 字符串 turn using option utf8 leaves strong
原文地址:http://www.cnblogs.com/LiLihongqiang/p/6862215.html