Contents

superDecoder()

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

Declaration

func superDecoder() throws -> any Decoder

Return Value

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

Discussion

Equivalent to calling superDecoder(forKey:) with Key(stringValue: "super", intValue: 0).