Vapor Documentation Beta

Enumeration Basic​Coding​Key

public enum BasicCodingKey

A basic CodingKey implementation.

%3 BasicCodingKey BasicCodingKey CodingKey CodingKey BasicCodingKey->CodingKey CustomStringConvertible CustomStringConvertible BasicCodingKey->CustomStringConvertible CustomDebugStringConvertible CustomDebugStringConvertible BasicCodingKey->CustomDebugStringConvertible

Conforms To

CodingKey
CustomDebugStringConvertible
CustomStringConvertible

Initializers

init?(string​Value:​)

public init?(stringValue: String)

See CodingKey.

init?(int​Value:​)

public init?(intValue: Int)

See CodingKey.

init(_:​)

public init(_ codingKey: CodingKey)

init(_:​)

public init(_ codingKeyRepresentable: CodingKeyRepresentable)

Enumeration Cases

key

case key(: String)

index

case index(: Int)

Properties

string​Value

var stringValue: String

See CodingKey.

int​Value

var intValue: Int?

See CodingKey.

description

var description: String

debug​Description

var debugDescription: String