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