do{ let json = try JSONSerialization.jsonObject(with: data!, options: []) as? [String : Any] }catch{ print("erroMsg") }