Package-level declarations

Support of Kotlin Serialization for types located in the org.kotools.types package from the types module.

Functions

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun Zero.Companion.byteSerializer(): KSerializer<Zero>

Returns an object responsible for serializing the Zero type as Byte.

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun Zero.Companion.doubleSerializer(): KSerializer<Zero>

Returns an object responsible for serializing the Zero type as Double.

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun Zero.Companion.floatSerializer(): KSerializer<Zero>

Returns an object responsible for serializing the Zero type as Float.

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun Zero.Companion.intSerializer(): KSerializer<Zero>

Returns an object responsible for serializing the Zero type as Int.

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun KotoolsTypesSerializersModule(): SerializersModule

Returns a collection of default serializers used for serializing types provided by Kotools Types.

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun Zero.Companion.longSerializer(): KSerializer<Zero>

Returns an object responsible for serializing the Zero type as Long.

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun Zero.Companion.shortSerializer(): KSerializer<Zero>

Returns an object responsible for serializing the Zero type as Short.

Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun EmailAddress.Companion.stringSerializer(): KSerializer<EmailAddress>

Returns an object responsible for serializing the EmailAddress type as String.

@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun EmailAddressRegex.Companion.stringSerializer(): KSerializer<EmailAddressRegex>

Returns an object responsible for serializing the EmailAddressRegex type as String.

@ExperimentalSince(version = KotoolsTypesVersion.V5_0_1)
fun Zero.Companion.stringSerializer(): KSerializer<Zero>

Returns an object responsible for serializing the Zero type as String.