serializerNothingWorkaround

inline fun <T> SerialFormat.serializerNothingWorkaround(): KSerializer<T>(source)

Deprecated

The `Nothing` type is supported by kotlinx.serialization by default now. See https://github.com/Kotlin/kotlinx.serialization/issues/932 and https://github.com/Kotlin/kotlinx.serialization/pull/2150 .

Replace with

import kotlinx.serialization.serializer
this.serializersModule.serializer<T>()