getPolymorphicDescriptors

Utility function to get all subtype serial descriptors from a given polymorphic serial descriptor, that can handle both PolymorphicKind.OPEN and PolymorphicKind.SEALED kinds.

Parameters

this

Serial descriptor of a polymorphic type.

json

Json instance