JsonSerializer

interface JsonSerializer

Client json serializer.

Functions

Link copied to clipboard
abstract fun read(type: TypeInfo, body: Input): Any

Read content from response using information specified in type.

Link copied to clipboard
open fun write(data: Any): OutgoingContent
abstract fun write(data: Any, contentType: ContentType): OutgoingContent

Convert data object to OutgoingContent.