Swift CocoaPods Build Status codecov
RxSwift wrapper for Codable.
struct User: Codable { var name: String } // Data -> User Observable<Data>.just(jsonData).map(User.self) Single<Data>.just(jsonData).map(User.self) Maybe<Data>.just(jsonData).map(User.self) // String -> User Observable<String>.just(jsonString).map(User.self) Single<String>.just(jsonString).map(User.self) Maybe<String>.just(jsonString).map(User.self)
-
Using CocoaPods :
pod 'RxCodable'
Any discussions and pull requests are welcomed π
To create a Xcode project:
$ swift package generate-xcodeprojRxCodable is under MIT license. See the LICENSE for more info.