Decoder
class Decoder
Undocumented
-
The strategy to use in decoding dates. Defaults to
.timestamp
.Declaration
Swift
public var dateDecodingStrategy: FirebaseDataDecoder.DateDecodingStrategy
-
Firestore decodes Data from
NSData
blobs versus the default .base64 strings.Declaration
Swift
public var dataDecodingStrategy: FirebaseDataDecoder.DataDecodingStrategy
-
The strategy to use in decoding non-conforming numbers. Defaults to
.throw
.Declaration
Swift
public var nonConformingFloatDecodingStrategy: FirebaseDataDecoder.NonConformingFloatDecodingStrategy
-
The strategy to use for decoding keys. Defaults to
.useDefaultKeys
.Declaration
Swift
public var keyDecodingStrategy: FirebaseDataDecoder.KeyDecodingStrategy
-
Contextual user-provided information for use during decoding.
Declaration
Swift
public var userInfo: [CodingUserInfoKey : Any]
-
Undocumented
Declaration
Swift
public func decode<T>(_ t: T.Type, from data: Any) throws -> T where T : Decodable
-
Undocumented
Declaration
Swift
public func decode<T: Decodable>(_ t: T.Type, from data: Any, in reference: DocumentReference?) throws -> T
-
Undocumented
Declaration
Swift
public init()