Contents

encode(_:)

Encodes an instance of the indicated type.

Declaration

func encode<T>(_ value: T) throws -> Self.Output where T : Encodable

Parameters

  • value:

    The instance to encode.