serialDescriptor

inline fun <T> serialDescriptor(): SerialDescriptor

Retrieves descriptor of type T using reified serializer function.


fun serialDescriptor(type: KType): SerialDescriptor

Retrieves descriptor of type associated with the given KType