Вам нужно
let jsonResponse = try JSONSerialization.jsonObject(with:dataResponse, options: []) as! [String:Any]
guard let jsonArray = jsonResponse["aaData"] as? [[String]] else {
return
}
Ваша структура json
{
"sEcho": 3,
"iTotalRecords": "174289",
"iTotalDisplayRecords": "1448",
"aaData": [[ "" ,"" , ""]]
}
Кстати, всегда рекомендуем
struct Root : Codable {
let sEcho: Int
let iTotalRecords, iTotalDisplayRecords: String
let aaData: [[String]]
}
Тогда
let res = try JSONDecoder().decode(Root.self,from:data)
let arr = res.aaData