ConversionService

interface ConversionService

Data conversion service that does serialization and deserialization to/from list of strings

Functions

fromValues

abstract fun fromValues(
    values: List<String>,
    type: Type
): Any?

Deserialize values to an instance of type

toValues

abstract fun toValues(value: Any?): List<String>

Serialize a value to values list

Inheritors

DataConversion

class DataConversion : ConversionService

Data conversion feature to serialize and deserialize types using converters registry

DefaultConversionService

object DefaultConversionService : ConversionService

The default conversion service that supports only basic types and enums

DelegatingConversionService

class DelegatingConversionService : ConversionService

Custom convertor builder