Configuration

class Configuration

Data conversion service configuration

Constructors

Link copied to clipboard
fun Configuration()

Functions

Link copied to clipboard
inline fun <T> convert(noinline configure: DelegatingConversionService.() -> Unit)

Register and configure convertor for reified type T

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

Register a convertor for klass type

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

Register and configure convertor for type klass

fun convert(ktype: KType, convertor: ConversionService)

Register a convertor for ktype type