deserializeList

abstract fun <T> deserializeList(body: ResponseBody, type: Class<T>): List<T>?

Deserializes a list of entities.

Return

The deserialized response body as a list of entities. null if the body could not be deserialized.

Parameters

body

The request body to deserialize into an entity.

type

The type of entity to deserialize.

T

The type of entity to deserialize.