Contents

superDecoder(forKey:)

Returns a Decoder instance for decoding super from the container associated with the given key.

Declaration

func superDecoder(forKey key: Self.Key) throws -> any Decoder

Parameters

  • key:

    The key to decode super for.

Return Value

A new Decoder to pass to super.init(from:).

Discussion