KotlinxStringSerializationHandler
data class KotlinxStringSerializationHandler(format: StringFormat, contentType: String) : BaseSerializationHandler<String>
Content copied to clipboard
Kotlinx serialization handler that uses a StringFormat. Serializes arguments as a composite structure, as if they were properties in a class.
Constructors
Link copied to clipboard
fun KotlinxStringSerializationHandler(format: StringFormat, contentType: String = if(format is Json) "application/json" else stringContentType)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun deserializeArguments(arguments: String, serializers: ArgumentSerializers<String>): Map<String, *>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun serializeArguments(arguments: Map<String, *>, serializers: ArgumentSerializers<String>): String
Content copied to clipboard