KotlinSerializationSerdeFactory

open class KotlinSerializationSerdeFactory @JvmOverloads constructor(json: Json = Json.Default) : SerdeFactory

This class implements SerdeFactory using Kotlinx serialization stack.

If you want to customize the Json object used in your service, it is recommended to subclass this class, and then register it using the dev.restate.sdk.annotation.CustomSerdeFactory annotation.

Constructors

Link copied to clipboard
constructor(json: Json = Json.Default)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun <T> create(typeRef: TypeRef<T>): Serde<T>
open override fun <T> create(typeTag: TypeTag<T>): Serde<T>
open override fun <T> create(clazz: Class<T>): Serde<T>