Configuration

class Configuration

Data conversion service configuration

Constructors

<init>

Configuration()

Data conversion service configuration

Functions

convert

fun convert(
    klass: KClass<*>,
    convertor: ConversionService
): Unit

Register a convertor for klass type

fun convert(ktype: KType, convertor: ConversionService): Unit

Register a convertor for ktype type

fun convert(
    klass: KClass<*>,
    configure: DelegatingConversionService.() -> Unit
): Unit

Register and configure convertor for type klass

fun <T> convert(
    configure: DelegatingConversionService.() -> Unit
): Unit

Register and configure convertor for reified type T