title: Parse json with SwiftyJSON
body: <p>I have been trying to use SwiftyJSON for my dummy JSON file inside the project. </p>
  
  <p>But i could only get "null" or "nil" instead of data in JSON file. I might ask for little assistance here. </p>
  
  <p>this is what i get as response : 
  0
  null
  Name of 1 : nil
  Make of 1: null</p>
  
  <p>Here is dummy JSON file ;</p>
  
  <pre><code>{
      "Cars": [
  
          {
              "Name": "111",
              "Make": "2000"
          },    
  
          {
              "Name": "222",
              "Make": "2010"
          }
  
      ]
  
  }
  </code></pre>
  
  <p>and here is where i tried to parse ; </p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
  
      var numberOfRows = 0
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          parseJSON()
  
      }
  
      func parseJSON() {
  
          let path : String = NSBundle.mainBundle().pathForResource("jsonfile", ofType: "json") as String!
          let jsonDATA = NSData(contentsOfFile: path) as NSData! 
  
          let readableJSON = JSON(data: jsonDATA, options: NSJSONReadingOptions.MutableContainers, error: nil)
  
          let allList = readableJSON["Cars"]
  
          numberOfRows = readableJSON["Cars"].count
  
          print("\(numberOfRows)")
  
          print("\(allList)")
  
          let name1 = readableJSON["Cars"][0]["Name"].string
          let make1 = readableJSON["Cars",0,"Make"]
  
          print("Name of 1 : \(name1)")
          print("Make of 1: \(make1)")
  
      }
  
  
  }
  </code></pre>