L

Lee坚武

V1

2023/01/31阅读:16主题:默认主题

iOS Swift JSON转JSONString字符串

本人亲测有效!更多交流可以家魏鑫:lixiaowu1129,公重好:iOS过审汇总,一起探讨iOS技术!
do{
    let data = try? JSONEncoder().encode(jsonProduct)
    self.jsonArr = String(data: data!, encoding:String.Encoding.utf8)!
}catch_{

}

分类:

移动端开发

标签:

Swift

作者介绍

L
Lee坚武
V1