DirectlyDecodable

public protocol DirectlyDecodable : Decodable

Implement this protocol if a type is supported directly by the Translator.

MetaSerialization will throw an error, if a unwrapper does not support the implementing type directly.

  • init(from:) Extension method

    Declaration

    Swift

    init(from decoder: Decoder) throws