KotlinxStringSerializer

data class KotlinxStringSerializer<T>(serializer: KSerializer<T>, format: StringFormat) : KotlinxSerializer<T, String>

A serializer that uses a kotlinx KSerializer with a StringFormat.

Constructors

Link copied to clipboard
fun <T> KotlinxStringSerializer(serializer: KSerializer<T>, format: StringFormat)

Functions

Link copied to clipboard
open override fun deserialize(data: String): T
Link copied to clipboard
open override fun serialize(data: T): String

Properties

Link copied to clipboard
val format: StringFormat
Link copied to clipboard
open override val serializer: KSerializer<T>

Sources

Link copied to clipboard