JSONService
public class JSONService : Service<URLSessionJSONNetworkHandler>
JSONService
provides an initialization of a Service
with a URLSessionJSONNetworkHandler
that uses JSON as encoding and decoding strategy
-
initializes the
Service
with a pre-specifiedURL
and theURLSessionJSONNetworkHandler
Declaration
Swift
public init(url: URL)