emailAddress

@DeprecatedAsErrorSince(version = KotoolsTypesVersion.V4_5_3)
val emailAddress: SerializersModule

Deprecated (with error)

Use the 'EmailAddressAsStringSerializer' type instead.

Replace with

import kotlinx.serialization.modules.SerializersModule
import kotlinx.serialization.modules.contextual
import org.kotools.types.kotlinx.serialization.EmailAddressAsStringSerializer
SerializersModule { contextual(EmailAddressAsStringSerializer()) }

Returns the module for serializing the EmailAddress type.