nestedContainer(keyedBy:)
Decodes a nested container keyed by the given type.
Declaration
mutating func nestedContainer<NestedKey>(keyedBy type: NestedKey.Type) throws -> KeyedDecodingContainer<NestedKey> where NestedKey : CodingKeyParameters
- type:
The key type to use for the container.
Return Value
A keyed decoding container view into self.