serialize

fun <T : Any> serialize(target: <Error class: unknown class>, value: T)
fun <T : Any> serialize(kClass: KClass<T>, target: <Error class: unknown class>, value: T)

Deprecated

This functionality uses service loaders and isn't really needed. Will be removed in 1.0