parseListResponse

inline fun <T> parseListResponse(data: ByteArray?): List<T>?

Deserializes data from a JSON array into a list of T, or returns null on failure.

Return

The deserialized list, or null if data is null or parsing fails.

Parameters

data

Raw JSON bytes from a network response.