Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

decode(_:using:)

Use the provided ContentDecoder to read a value of type D from the container.
func decode<D>(_: D.Type, using decoder: any ContentDecoder) async throws -> D where D : Decodable