gson

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

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

You can learn more from Content negotiation and serialization.