EmailAddressAsStringSerializer

@ExperimentalSince(version = KotoolsTypesVersion.V4_5_3)
class EmailAddressAsStringSerializer : KSerializer<EmailAddress>

Class responsible for serializing the EmailAddress type as String.

Constructors

Link copied to clipboard
constructor()

Creates an instance of EmailAddressAsStringSerializer.

Properties

Link copied to clipboard

Describes the structure of the serializable representation of EmailAddress, produced by this serializer.

Functions

Link copied to clipboard
override fun deserialize(decoder: Decoder): EmailAddress

Deserializes the value of type EmailAddress using the format represented by the specified decoder.

Link copied to clipboard
operator override fun equals(other: Any?): Boolean

Returns true if the other object is an instance of EmailAddressAsStringSerializer, or returns false otherwise.

Link copied to clipboard
override fun hashCode(): Int

Returns a hash code value for this serializer.

Link copied to clipboard
override fun serialize(encoder: Encoder, value: EmailAddress)

Serializes the specified value using the format represented by the specified encoder.

Link copied to clipboard
override fun toString(): String

Returns the string representation of this serializer, corresponding to its simple name.