JSONDeserializer
public class JSONDeserializer: Deserializer
Default JSON deserializer implementation.
Deserializes JSON formatted data using Foundation’s JSONSerialization class.
-
A shared
JSONDeserializerinstance.Declaration
Swift
public static let shared = JSONDeserializer() -
A unique name that identifies this deserializer.
Declaration
Swift
public let name = "json" -
Function that deserializes raw JSON data into a Foundation object.
Declaration
Swift
public func deserialize(data: Data) throws -> AnyParameters
dataThe raw JSON data to be deserialized.
View on GitHub
JSONDeserializer Class Reference