Skip to content

lijithvipin/Alamofire-SwiftyJSON

 
 

Repository files navigation

Alamofire-SwiftyJSON

An extension to make serializing Alamofire's response with SwiftyJSON easily.

Requirements

  • iOS 8.0+ / Mac OS X 10.9+
  • Xcode 8.0

Install

CocoaPods:

pod 'Alamofire-SwiftyJSON'

Carthage:

github "SwiftyJSON/Alamofire-SwiftyJSON" "master"

Usage

Alamofire.request(URL, method: .get, parameters: parameters, encoding: URLEncoding.default)
         .responseSwiftyJSON { dataResponse in
                     print(dataResponse.request)
                     print(dataResponse.response)
                     print(dataResponse.error)
                     print(dataResponse.value)
                  })

About

Alamofire extension for serialize NSData to SwiftyJSON

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 78.3%
  • Ruby 11.5%
  • Objective-C 10.2%