setListMapper

fun <T : Any> setListMapper(
    type: KClass<T>,
    serializer: KSerializer<T>
): Unit

Set mapping from type to generated KSerializer.