CodingKeys
public struct CodingKeys : CodingKey
A generic CodingKey
type that supports any value.
-
See
CodingKey.stringValue
.Declaration
Swift
public var stringValue: String
-
See
CodingKey.intValue
.Declaration
Swift
public var intValue: Int?
-
See
CodingKey.init(stringValue:)
.If the string passed in is convertible to an
Int
, theintValue
property is set.Declaration
Swift
public init(stringValue: String)
-
See
CodingKey.init(intValue:)
.The
.stringValue
property is set to the string representation of theInt
.Declaration
Swift
public init(intValue: Int)