本文共 217 字,大约阅读时间需要 1 分钟。
func nsdataToJSON(data: NSData) -> AnyObject? { do { return try JSONSerialization.jsonObject(with: data as Data, options: .mutableContainers) as AnyObject } catch { print(error) } return nil}
转载地址:http://xkdxx.baihongyu.com/