Rodrigo Silva
kotlinx.serialization.SerializationException: Serializer for class 'Immobile' is not found.
Mark the class as @Serializable or provide the serializer explicitly.
import kotlinx.serialization.* @Serializable data class Immobile( val test: String )
fun Route.webProperties() { route("/home") { post { val properties = call.receive<Immobile>() call.respond(properties) } } }
install(ContentNegotiation) { json() }
jaqxues
A modern programming language that makes developers happier.