title: Mapping complex JSON model in Swift?
body: <p>I can get response in JSON, but it seems like it cannot be mapped into mutArray. </p>
  
  <pre><code>    BaseHttpRequest.shareInstance.myGET(detailURL, parameters: kid) { (response) in
  
          var mutArray = Array &lt;KingdomDetail&gt; ()
  
          if response is Array &lt;JSON&gt; {
  
              for jsonObj in response as! Array&lt;JSON&gt; {
  
                  if let kingdomDetailList = KingdomDetail(json: jsonObj) {
                      mutArray.append(kingdomDetailList)
                  } else {
                      print("nothing")
                  }
              }
          }
          success(success: mutArray)
      }        
  </code></pre>