Package com.hexagonkt.core.converters

Registry of functions to convert from one type to another.

TODO

Types

Link copied to clipboard
object ConvertersManager

Registry that holds functions to convert from one type to another.

Functions

Link copied to clipboard
inline fun <T : Any> Any.convert(): T
fun <T : Any> Any.convert(target: KClass<T>): T

Utility method to convert one type to another.

Link copied to clipboard
inline fun <T : Any> Iterable<Any>?.convertObjects(): List<T>
fun <T : Any> Iterable<Any>?.convertObjects(target: KClass<T>): List<T>

Convert a group of instances of one type to another type.