title: Could not cast value of type 'Swift.Array<Swift.Dictionary<Swift.String, Swift.String>>' () to 'Swift.Dictionary<Swift.String, Any>' ()
body: <p>This is my JSON, when i read ord , uniq data i'm getting errors</p>
  
  <pre><code>let response2 : [String: Any]  = ["Response":["status":"SUCCESS","error_code":"0","message":"SUCCESS","Array":[
                                  ["ord":"50","uniq":"5a66c2348",
                                     "name":"SHREE","no":"UP11AT0","loc":"Hathin","lat":"23.33","lon":"87.09","date":"30-01-2018","time":"12:35:33","dis_dt":"00-00-0000","dis_tm":"00:00:00"],
                                  ["ord":"50","uniq":"5a66c2348",
                                     "name":"SHREE","no":"UP11AT0","loc":"Hathin","lat":"23.33","lon":"87.09","date":"30-01-2018","time":"12:35:33","dis_dt":"00-00-0000","dis_tm":"00:00:00"],
                                  ["ord":"50","uniq":"5a66c2348",
                                     "name":"SHREE","no":"UP11AT0","loc":"Hathin","lat":"23.33","lon":"87.09","date":"30-01-2018","time":"12:35:33","dis_dt":"00-00-0000","dis_tm":"00:00:00"]
                              ]],"count":"35"]
  </code></pre>
  
  <p>My code is </p>
  
  <pre><code>let status = "\((response2["Response"]! as! [String: Any])["status"]!)"
  print(status)
  
  if status == "SUCCESS" {
     let count = ((response2["Response"]! as! [String: Any])["Array"] as AnyObject).count!
     print(count)
     let ar = (response2["Response"]! as! [String: Any])["Array"]!
     print(ar)
  
     var ord_id: [Any] = []
     for i in 0..&lt;count {
         ord_id.append((response2["Response"]! as! [String: Any])["Array"]! [0] as! [String:Any])// Here I'm getting Type 'Any' has no subscript members and 
     }
  
  } else {
     print("Show alert")
  }
  </code></pre>
  
  <p>When  write like this I'm getting Error: <strong><em>Type 'Any' has no subscript members</em></strong></p>
  
  <pre><code>let ar = (response2["Response"]! as! [String: Any])["Array"]! [0] as! [String: Any]          
  </code></pre>
  
  <p>When I write like this Error: <strong><em>Could not cast value of type 'Swift.Array>' (0x10bf341f0) to 'Swift.Dictionary' (0x10bf340d0).</em></strong></p>
  
  <pre><code>let ar = (response2["Response"]! as! [String: Any])["Array"]! as! [String: Any]
  </code></pre>
  
  <p>I'm unable to understand what is the exact problem an how to solve it.</p>