Skip to content

TopLevelDecoder

ctreffs edited this page Oct 7, 2020 · 3 revisions

TopLevelDecoder

public protocol TopLevelDecoder

Requirements

decode(_:​from:​)

Decodes an instance of the indicated type.

func decode<T>(_ type: T.Type, from: Self.Input) throws -> T where T: Decodable

userInfo

Contextual user-provided information for use during decoding.

var userInfo: [CodingUserInfoKey: Any]
Clone this wiki locally