title: Swift 5 Alamofire dictionary parsing error
body: <p>I want to parse json with Alamofire , in Swift 5 but I didnt get array my codes under below.</p>
  
  <p>My json file </p>
  
  <pre><code>[{"type":"success","data":[{"id":"1","sectionId":"1","title":"test title","detail":"detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text detail test text ","image":"test.jpg","view":"0","status":"1"}]}]
  </code></pre>
  
  <p>My swift 5 codes</p>
  
  <pre><code>if let json = response.result.value {
                      print(json)
                           if let dictionaryArray = json as? Dictionary&lt;String, AnyObject?&gt; {
                               print(dictionaryArray)
                               let json = dictionaryArray
                               if let type = json["type"] as? String,
                                  let results = json["data"] as? Array&lt;Dictionary&lt;String, AnyObject?&gt;&gt; {
                                  print(type)
                              for i in 0..&lt;results.count{
                                      let json = results[i]
                                      if let id = json["id"] as? String, let jokeString = json["title"] as? String{
                                          self.items.append(Item(id: id, sectionId : "0", title: jokeString, detail:"", image: "", view : "0", status : "0"))
                                          print(json)
  
                                  }
                              }
                          }
                      }
                  }
          }
  </code></pre>
  
  <p>Any idea? Where have I made a mistake?</p>