DecodingKeyedContainerMeta

public protocol DecodingKeyedContainerMeta : Meta

A meta for a keyed collection of metas during decoding. The key is always a MetaCodingKey. How these keys are handled internal is left to the implementor.

  • 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?
  • Returns all keys in this container as MetaCodingKey.

    Declaration

    Swift

    var allKeys: [MetaCodingKey] { get }
  • returns whether key is contained in this container.

    Declaration

    Swift

    func contains(key: MetaCodingKey) -> Bool