NSData *jsonData = [NSJSONSerialization dataWithJSONObject:self.viewModel.params options:NSJSONWritingPrettyPrinted error:nil];
NSString *jsonString = [[NSString alloc]initWithData:jsonData encoding:NSUTF8StringEncoding];
iOS字典转json 包含字段nsstring
最新推荐文章于 2019-06-12 09:53:58 发布