value of type any has no subscripts swift code example Example: value of type any has no subscripts swift (people[0]["cars"] as! [[String: Any]]) [0]["occupancy"]