retrofit / retrofit2 / Converter

Converter

interface Converter<F : Any!, T : Any!>

Convert objects to and from their representation in HTTP. Instances are created by which is installed into the Retrofit instance.

Types

Factory

abstract class Factory

Creates Converter instances based on a type and target usage.

Functions

convert

abstract fun convert(value: F): T?