Package-level declarations

Types

Link copied to clipboard
open class KotlinSerializationSerdeFactory @JvmOverloads constructor(json: Json = Json.Default, jsonSchemaFactory: KotlinSerializationSerdeFactory.JsonSchemaFactory = DefaultJsonSchemaFactory) : SerdeFactory

This class implements SerdeFactory using Kotlinx serialization stack.

Functions

Link copied to clipboard
inline fun <T> jsonSerde(json: Json = Json.Default, jsonSchemaFactory: KotlinSerializationSerdeFactory.JsonSchemaFactory = KotlinSerializationSerdeFactory.JsonSchemaFactory.NOOP): Serde<T>

Creates a Serde implementation using the kotlinx.serialization json module.

Link copied to clipboard
inline fun <T> typeTag(): TypeTag<T>

Kotlin specific TypeTag, using Kotlin's reified generics.