Skip to content

Instance Method

decode(_:)

Use the default decoder for the container’s contentType to read a value of type C from the container.
func decode<C>(_: C.Type) throws -> C where C : Content

Discussion

Note

The defaultContentType of C is ignored.