Package com.rnett.krosstalk.serialization

Types

Link copied to clipboard
data class KotlinxBinarySerializationHandler(format: BinaryFormat, contentType: String) : BaseSerializationHandler<ByteArray>

Kotlinx serialization handler that uses a BinaryFormat. Serializes arguments as a composite structure, as if they were properties in a class.

Link copied to clipboard
data class KotlinxBinarySerializer<T>(serializer: KSerializer<T>, format: BinaryFormat) : KotlinxSerializer<T, ByteArray>

A serializer that uses a kotlinx KSerializer with a BinaryFormat.

Link copied to clipboard
@KrosstalkPluginApi
interface KotlinxSerializer<T, S> : Serializer<T, S>
Link copied to clipboard
data class KotlinxStringSerializationHandler(format: StringFormat, contentType: String) : BaseSerializationHandler<String>

Kotlinx serialization handler that uses a StringFormat. Serializes arguments as a composite structure, as if they were properties in a class.

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

A serializer that uses a kotlinx KSerializer with a StringFormat.