标签:obj bsp mutable json ror 字符 ati utf8 div
有点时候,我们json中有post请求的网址,这个时候我们须要把网址字符串转换成body体 字典 放在post请求中
NSString *body = [self.url_C_ componentsSeparatedByString:@"="].lastObject;
NSData *data = [body dataUsingEncoding:NSUTF8StringEncoding];
NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil];
标签:obj bsp mutable json ror 字符 ati utf8 div
原文地址:http://www.cnblogs.com/yangykaifa/p/7071545.html