parseTo

open fun <T> parseTo(clazz: Class<T>): T

Optional parsing of the current response with generic given type. Uses GSON as the parsing engine.

Return

Parsed hard copy class according to provided type.

Parameters

clazz

Requested type for parsing.