Package-level declarations

Types

Link copied to clipboard
class GsonConverter(gson: Gson = Gson()) : ContentConverter

A content converter that uses Gson

Link copied to clipboard

GSON converter for the WebSockets plugin

Functions

Link copied to clipboard
fun Configuration.gson(contentType: ContentType = ContentType.Application.Json, block: GsonBuilder.() -> Unit = {})

Registers the application/json content type to the ContentNegotiation plugin using GSON.