title: Swift: Handling JSON with Alamofire & SwiftyJSON
body: <p>This is sure to be asked several times, but I have not yet found the right answer, although I have been looking very hard. </p>
  
  <p>I use Alamofire and SwiftyJSON and my JSON data looks like that:</p>
  
  <pre><code>{
    "528" : {
      "name" : "Name 1",
      "id" : "528",
      "product_id" : null,
      "visible" : "0",
      "level" : "2"
    },
    "29" : {
      "name" : "Name 2",
      "id" : "29",
      "product_id" : null,
      "visible" : "1",
      "level" : "1"
    },
    "173" : {
      "name" : "Name 3",
      "id" : "173",
      "product_id" : null,
      "visible" : "0",
      "level" : "2"
    },
    "143" : {
      "name" : "Name 4",
      "id" : "143",
      "product_id" : null,
      "visible" : "1",
      "level" : "2"
    },
  </code></pre>
  
  <p>...with this code: </p>
  
  <pre><code>Alamofire.request(.GET, dataURL, parameters: nil, encoding: .JSON)
  
      .responseJSON { (request, response, jsonData, error) in
  
          let json = JSON(jsonData!) 
  
          println(json)
  
      }
  </code></pre>
  
  <p>...so everything should be fine with JSON</p>
  
  <ol>
  <li><p>How can i access to that data? I mean how can i get names, ids, product_ids etc</p></li>
  <li><p>How can i put that data (name) to my TableViewController?</p></li>
  </ol>