KeyedDecodingContainer
struct KeyedDecodingContainer<K> : KeyedDecodingContainerProtocol where K : CodingKey
-
Convenience function that decode given key of type
Declaration
Swift
public func decodeIfPresent<T>(key: K, defaultValue: T) throws -> T where T : Decodable