dino9
11/25/2022, 7:21 PM{
"base": "xyz",
"rates": {
"AED": 3.67295,
"AFN": 87.499995
}
}
@Serializable
class Obj(val base: String, val rates : Map<String?,Double>?)
I use kotlin serialization but observed following error
io.ktor.client.call.NoTransformationFoundException: No transformation found: class io.ktor.utils.io.ByteBufferChannel (Kotlin reflection is not available) -> class dev.packge (Kotlin reflection is not available)
e5l
11/25/2022, 8:08 PMdino9
11/26/2022, 5:45 AMresponse.bodyAsText()
works fine to me but `response.body()`not working for json representation of map. is there any config i miss here?e5l
11/28/2022, 7:45 AMContent-Type
header, could you install Logging to check it?