How to use SwiftyJSON on nested JSON values
问题 I'm calling a JSON API that has several nested values that I need to get. I'm using SwiftyJSON to make things a little cleaner. For the top level values, everything seems to be working fine, but on anything deeper, I'm getting the dreaded "nil when unwrapping optional value." Here is how I'm making the API call with Alamofire: Alamofire.request(APIRequests.Router.Nearby(self.page)).responseJSON(){ (_,_,json,_) in println(json) if (json != nil){ var jsonObj = JSON(json!) if let userArray =