element

inline fun <T> ClassSerialDescriptorBuilder.element(    elementName: String,     annotations: List<Annotation> = emptyList(),     isOptional: Boolean = false)(source)

A reified version of element function that extract descriptor using serializer<T>().descriptor call with all the restrictions of serializer<T>().descriptor.