CodingKey
A type that can be used as a key for encoding and decoding.
protocol CodingKey : CustomDebugStringConvertible, CustomStringConvertible, Sendable
Supertypes
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Requirements
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).