SwiftprotocollibswiftCore

protocol Swift.Decoder

Members 5

  1. funcmethod descriptor for Decoder.container<A where A1: CodingKey>(keyedBy: A1.Type) throws -> KeyedDecodingContainer<A1>
  2. funcmethod descriptor for Decoder.singleValueContainer() throws -> SingleValueDecodingContainer
  3. funcmethod descriptor for Decoder.unkeyedContainer() throws -> UnkeyedDecodingContainer
  4. varvar codingPath: [CodingKey] { get }
  5. varvar userInfo: [CodingUserInfoKey : Any] { get }
protocol Decoder {
    var codingPath: [any Swift.CodingKey] {
        get
    }
    var userInfo: [Swift.CodingUserInfoKey : Any] {
        get
    }

    func container<A1>(keyedBy: A1.Type) throws -> Swift.KeyedDecodingContainer<A1> where A1: Swift.CodingKey
    func unkeyedContainer() throws -> any Swift.UnkeyedDecodingContainer
    func singleValueContainer() throws -> any Swift.SingleValueDecodingContainer
}