Generic Structure
KeyedEncodingContainer
A concrete container that provides a view into an encoder’s storage, making the encoded properties of an encodable type accessible by keys.
Declaration
struct KeyedEncodingContainer<K> where K : CodingKey
Topics
Instance Methods
func superEncoder() -> Encoder
Stores a new nested container for the default super
key and returns A new encoder instance for encoding super
into that container.
See Also
Encoding Containers
protocol UnkeyedEncodingContainer
A type that provides a view into an encoder’s storage and is used to hold the encoded properties of an encodable type sequentially, without keys.