数组转换成NSString
2017-12-06 本文已影响9人
Mrxiaowang
NSData *data=[NSJSONSerialization dataWithJSONObject:self.placeArr options:NSJSONWritingPrettyPrinted error:nil];
NSString *jsonStr=[[NSString alloc]initWithData:data encoding:NSUTF8StringEncoding];