ktor
ktor copied to clipboard
JVM(Desktop) Ktor client request.body<T>() Release Proguard catch
Ktor version:3.2.3
If using Proguard (even after applying the rules one can find), calling .body() on a response will throw an exception complaining that it can't find the serializer. Kotlinx serialization itself works fine, I only see the bug when trying to use serialization from a ktor request.
error msg: kotlinx.serialization.SerializationException: Serializer for class '' is not found. Please ensure that class is marked as '@Serializable' and that the serialization compiler plugin is applied.
@osipxd, could you please check?