serializeList

open override fun <T> serializeList(entities: Iterable<T>, type: Class<T>): RequestBody

Serializes a list of entities.

Return

The serialized entities as a request body.

Parameters

entities

The entities to serialize.

type

The type of entity to deserialize.

T

The type of entity to serialize.