subclass
inline fun <Base : Any, T : Base> PolymorphicModuleBuilder<Base>.subclass(serializer: KSerializer<T>)(source)
Registers a subclass in the resulting module under the base class.
Registers a serializer for class T in the resulting module under the base class.