Open ClassFoundation5.9.0
PropertyListDecoder
class PropertyListDecoder
Citizens in Foundation
Members
init(
) Initializes
self
with default strategies.var userInfo: [CodingUserInfoKey : Any]
Contextual user-provided information for use during decoding.
func decode<T>(T
.Type, from: Data) throws -> T Decodes a top-level value of the given type from the given property list representation.
func decode<T>(T
.Type, from: Data, format: inout PropertyListSerialization.PropertyListFormat) throws -> T Decodes a top-level value of the given type from the given property list representation.