getDiscriminatorValue

open fun getDiscriminatorValue(kClass: KClass<*>, subclass: KClass<*>): String?(source)

Returns the discriminator value for the given subclass of kClass. By default, delegates to getDiscriminatorValue with a single parameter, which returns null.

Report a problem


open fun getDiscriminatorValue(subclass: KClass<*>): String?(source)

Returns the discriminator value for the given subclass. By default, returns null.

Report a problem