1do {
2 let arrJson = try JSONSerialization.data(withJSONObject: dataAddress, options: JSONSerialization.WritingOptions.prettyPrinted)
3 let string = String(data: arrJson, encoding: String.Encoding(rawValue: String.Encoding.utf8.rawValue))
4 let tempJson = string! as String
5 print("%%%%%%",tempJson)
6 }catch let error as NSError{
7 print(error.description)
8 }