class DelegatingConversionService : ConversionService
Custom convertor builder
fun decode(converter: (values: List<String>, type: Type) -> Any?): Unit
Configure decoder function. Only one decoder could be supplied |
|
fun encode(converter: (value: Any?) -> List<String>): Unit
Configure encoder function. Only one encoder could be supplied |
|
fun fromValues(values: List<String>, type: Type): Any?
|
|
fun toValues(value: Any?): List<String>
Serialize a value to values list |