gson
fun Configuration.gson(contentType: ContentType = ContentType.Application.Json, block: GsonBuilder.() -> Unit = {})
Content copied to clipboard
Registers the application/json
content type to the ContentNegotiation plugin using GSON.
You can learn more from Content negotiation and serialization.