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, the intValue property is set.

    Declaration

    Swift

    public init(stringValue: String)
  • See CodingKey.init(intValue:).

    The .stringValue property is set to the string representation of the Int.

    Declaration

    Swift

    public init(intValue: Int)