JsonContentPolymorphicSerializer

fun <T : Any> JsonContentPolymorphicSerializer(baseClass: KClass<T>)

Parameters

T

A root class for all classes that could be possibly encountered during serialization and deserialization.

baseClass

A class token for T.