PLISTDeserializer
public class PLISTDeserializer: Deserializer
Default PLIST deserializer implementation.
Deserializes PLIST formatted data using Foundation’s PropertListSerialization class.
-
A shared
PLISTDeserializer
instance.Declaration
Swift
public static let shared = PLISTDeserializer()
-
A unique name that identifies this deserializer.
Declaration
Swift
public let name = "plist"
-
Function that deserializes raw PLIST data into a Foundation object.
Declaration
Swift
public func deserialize(data: Data) throws -> Any
Parameters
data
The raw PLIST data to be deserialized.