title: type 'any' has no subscript members in swift 3
body: <p>I am getting this error at the line   <code>if let arrJson = allContacts["contacts"]</code></p>
  
  <p>in the below code:</p>
  
  <pre><code>if let arrJson = allContacts["contacts"]     {
              for index in 0...arrJson.count - 1
              {
                  let aObject = arrJson[index] as! [String : AnyObject]
  
                  names.append(aObject["name"] as! String)
                  contacts.append(aObject["email"] as! String)
  
                  }
              }
  </code></pre>
  
  <p>Please help me what to do?
  I have tried this one but not solved this error <a href="https://stackoverflow.com/questions/39516199/type-any-has-no-subscript-members-in-xcode-8-swift-3">Type &#39;Any&#39; Has no Subscript Members in xcode 8 Swift 3</a> </p>