ProtocolSwift
CodingKey
A type that can be used as a key for encoding and decoding.
protocol CodingKey : CustomDebugStringConvertible, CustomStringConvertible, Sendable
A type that can be used as a key for encoding and decoding.
protocol CodingKey : CustomDebugStringConvertible, CustomStringConvertible, Sendable
init?(intValue: Int)
Creates a new instance from the specified integer.
init?(stringValue: String)
Creates a new instance from the given string.
var intValue: Int?
The value to use in an integer-indexed collection (e.g. an int-keyed dictionary).
var stringValue: String
The string to use in a named collection (e.g. a string-keyed dictionary).