serialize

open override fun serialize(encoder: Encoder, value: List<T>)

Serializes a list of type T into the desired output format.

Parameters

encoder

The encoder used to write the serialized output.

value

The list of items to be serialized.