EncodingKeyedContainerMeta
public protocol EncodingKeyedContainerMeta : Meta
A meta for a keyed collection of metas during encoding. The key is always a MetaCodingKey. How these keys are handled internal is left to the implementor.
-
Stores value for key (replaces the old value if there is already a value stored for key).
Declaration
Swift
mutating mutating func put(_ value: Meta, for key: MetaCodingKey)
-
Returns the value contained for key in this container or nil if no value is contained. If
contains
returned true, you needs to return a non-nil value here.Declaration
Swift
func getValue(for key: MetaCodingKey) -> Meta?