MetaSingleValueDecodingContainer

open class MetaSingleValueDecodingContainer : SingleValueDecodingContainer

Manages all kinds of metas, that represent some kind of single value

  • This MetaSingleValueDecodingContainer’s meta.

    Declaration

    Swift

    public let meta: Meta
  • The decoder that created this container.

    Decoding is delegated to it.

    Declaration

    Swift

    public let decoder: MetaDecoder
  • Declaration

    Swift

    public let codingPath: [CodingKey]

initalization

decoding

  • Declaration

    Swift

    open func decodeNil() -> Bool
  • Declaration

    Swift

    open func decode<T>(_ type: T.Type) throws -> T where T : Decodable