JsonContentPolymorphicSerializer

constructor(baseClass: KClass<T>)(source)

Parameters

T

A root type for all classes that could be possibly encountered during serialization and deserialization. Must be non-final class or interface.

baseClass

A class token for T.