Having this code:
let object = json as? [Any] {
if let questionari=object["questionnarie"] as? [Dictionary<String, AnyObject>]{
}
Compiler (of course) says to me that I can't use a String's index while it's [Any]: I can't find the proper why to cast it as String.
objectis supposed to be an array then the next line won't compile.