Contents

init(from:)

Creates an instance from the given decoder.

Declaration

init(from decoder: any Decoder) throws

Parameters

  • decoder:

    The decoder to read from.

See Also

Decoding and encoding