Package io.ktor.util.converters
Types
Link copied to clipboard
Data conversion service that does serialization and deserialization to/from list of strings
Link copied to clipboard
class DataConversion(configuration: DataConversion.Configuration) : ConversionService
Content copied to clipboard
Data conversion feature to serialize and deserialize types using converters registry
Link copied to clipboard
Thrown when failed to convert value
Link copied to clipboard
The default conversion service that supports only basic types and enums
Link copied to clipboard
class DelegatingConversionService(klass: KClass<*>, decoder: (values: List<String>) -> Any??, encoder: (value: Any?) -> List<String>?) : ConversionService
Content copied to clipboard
Implementation of ConversionService that delegates fromValues and toValues to decoder and encoder