NSData *data=[NSJSONSerialization dataWithJSONObject:self.placeArr options:NSJSONWritingPrettyPrinted error:nil];
NSString *jsonStr=[[NSString alloc]initWithData:data encoding:NSUTF8StringEncoding];
NSData *data=[NSJSONSerialization dataWithJSONObject:self.placeArr options:NSJSONWritingPrettyPrinted error:nil];
NSString *jsonStr=[[NSString alloc]initWithData:data encoding:NSUTF8StringEncoding];
本文标题:数组转换成NSString
本文链接:https://www.haomeiwen.com/subject/ntykixtx.html
网友评论