TypedSerializer

fun <T : Any> TypedSerializer(kClass: KClass<T>, presetSerializers: Map<String, KSerializer<out T>> = emptyMap())