title: Cannot subscript a value of type '[[String : Any]]' with an index of type 'String'
body: <p>I'm trying to extract the info from a <a href="https://i.stack.imgur.com/QaEeX.png" rel="nofollow noreferrer">json</a> array and i'm getting this error</p>
  
  <p>"Cannot subscript a value of type '[[String : Any]]' with an index of type 'String'" </p>
  
  <p>here</p>
  
  <pre><code>     if let rev = place.details?["reviews"] as? [[String:Any]] {
     if let ver = rev["author_name"] as? String {    // &lt;- IN THIS LINE I GET THE ERROR  
  
               }       
          } 
  </code></pre>
  
  <p>i know that if i cast the type as <code>[String : Any]</code> instead of <code>[[String:Any]]</code> it will work, but in this case i have to cast it as an array of arrays otherwise it doesn't read the json, so how can i solve the problem?</p>