let packarr : NSArray = try! JSONSerialization.jsonObject(with: tempstr.data(using: String.Encoding(rawValue: String.Encoding.utf8.rawValue))!, options: .allowFragments) as! NSArray
let packarr : NSArray = try! JSONSerialization.jsonObject(with: tempstr.data(using: String.Encoding(rawValue: String.Encoding.utf8.rawValue))!, options: .allowFragments) as! NSArray
本文标题:swift json字符串转数组
本文链接:https://www.haomeiwen.com/subject/afttyftx.html
网友评论