Upgrading my test app to swift 2.
      private func parsePeopleFromData(peopleData : NSData) -> [Person] {
            var people = [Person]()
            let jsonResult: NSDictionary = NSJSONSerialization.JSONObjectWithData(peopleData, options: NSJSONReadingOptions.MutableContainers, error : nil) as! NSDictionary
            if let rawPeople = rawPeopleDataFromJSON(jsonResult) {
                people = parsePeopleFromRaw(rawPeople)
            }
            return people
        }
It shows error on the following line, specifically on error : nil
let jsonResult: NSDictionary = NSJSONSerialization.JSONObjectWithData(peopleData, options: NSJSONReadingOptions.MutableContainers, error : nil) as! NSDictionary
Help me to fix the issue.Thanks in advance.
