KeyedEncodingContainerProtocol
extension KeyedEncodingContainerProtocol
-
Declaration
Swift
public mutating func encodeArray<T>(_ values: [T], forKey key: Self.Key) throws where T : Encodable
-
Declaration
Swift
public mutating func encodeArrayIfPresent<T>(_ values: [T]?, forKey key: Self.Key) throws where T : Encodable
-
Declaration
Swift
public mutating func encodeMap<T>(_ pairs: [Self.Key : T]) throws where T : Encodable, Self.Key : Hashable
-
Declaration
Swift
public mutating func encodeMapIfPresent<T>(_ pairs: [Self.Key : T]?) throws where T : Encodable, Self.Key : Hashable