plusAssign

@InternalSerializationApi
operator fun <T : Any> TypedSerializer<T>.plusAssign(kClass: KClass<T>)(source)

Adds a type to this TypedSerializer using its class name as the type identifier.

Parameters

kClass

The Kotlin class to add

Type Parameters

T

The type to add