Which converter should I use to receive data from ...
# ktor
e
Which converter should I use to receive data from a form as an object, I use thymeleaf as a template engine, After using the
GsonConvert
Copy code
install(ContentNegotiation) {
    register(ContentType.Any, GsonConverter())
}
The statement generate an exception.
Copy code
post("save") {
    val data = call.receive<MyClass>()
}
­čĹÇ 1
w
What's the exception?
n
i think formdata needs to be received slightly different, its not json after all