Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Alamofire extension for serialize NSData to SwiftyJSON

License

NotificationsYou must be signed in to change notification settings

SwiftyJSON/Alamofire-SwiftyJSON

Repository files navigation

An extension to make serializingAlamofire's response withSwiftyJSON easily.

⚠️To use with Swift 3.x please ensure you are using >=2.0.0⚠️

⚠️To use with Swift 4.x please ensure you are using >=3.0.0⚠️

Swift version

Alamofire-SwiftyJSONSwift versionAlamofireSwiftyJSON
2.xSwift 3.x4.x3.x
3.xSwift 4.x4.5.x4.x

Requirements

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

Install

CocoaPods:

pod'Alamofire-SwiftyJSON'

Carthage:

github "SwiftyJSON/Alamofire-SwiftyJSON" "master"

Usage

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

About

Alamofire extension for serialize NSData to SwiftyJSON

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors12


[8]ページ先頭

©2009-2025 Movatter.jp