``` data class Who(val name: String, val planet: S...
# ktor
b
Copy code
data class Who(val name: String, val planet: String)

fun Application.main() {
    install(DefaultHeaders)
    install(CallLogging)
    install(GsonSupport)
    install(Routing) {
        get("/") {
            val doktor = Who("Doktor", "Gallifrey")
            call.respond(doktor)
        }
    }
}