title: How to convert JSON to another type with SwiftJSON
body: <p>I try to get json data form web services with Alamofire + SwiftJSON but I can not convert type JSON to another type </p>
  
  <p>My code </p>
  
  <pre><code> var product:JSON = []
  
   override func viewDidLoad() 
  
   { Alamofire.request(.GET, URL).responseJSON { (request, response, json, error) in 
     if json != nil { 
     self.product = JSON(json!) 
     let data = self.product["product"] 
      self.product = JSON(data!)
  </code></pre>
  
  <p>I want json data in to product:[NSDictionary] for dispay title name or id in my collectionViewCell . Please some advise. –</p>
  
  <p>Json data response</p>
  
  <pre><code>{ 
    "product":{ 
    "title":"Night Cream", 
    "id":4573, 
    "created_at":"2015-08-21T07:54:09Z", 
    "updated_at":"2015-08-27T01:37:06Z", 
  } 
  }
  </code></pre>
  
  <p>How do I convert data (type JSON) to dictionary in order to apply for a future use?</p>