descriptor

open val descriptor: <Error class: unknown class>(source)

A descriptor for this set of content-based serializers. By default, it uses the name composed of baseClass simple name, kind is set to PolymorphicKind.SEALED and contains 0 elements.

However, this descriptor can be overridden to achieve better representation of custom transformed JSON shape for schema generating/introspection purposes.