keep getting this with > ktor > kotlinx ser...
# javascript
a
keep getting this with
ktor
kotlinx serialization
kotlin coroutines
this is how i create my client
response is for StandardResponse<ApiSpecificResponse> both the classes are serializeable and work without an issue in ios and android
any help would be appreciated .. or if you can point me to a sample that uses ktor, kotlinx.serialization and coroutines in kotlinjs
r
It might be a bug. You can try switching to IR backend - there is a chance it will work.
a
I am on the IR backend but I think the problem is typed classes ... this seems to work when I use a normal untyped class.
r
Your stacktrace suggests you are on JS legacy backend.
Look at those
jsLegacy.js
names
a
Deserializer for declaration public kotlinx.serialization.json/Json|null[0] is not found
when i use IR
no code change ..just changed legacy to IR https://scans.gradle.com/s/qynzgqrozt672
r
Looks like a bug you should report.
a
thanks will do
got it to work fine by removing
Copy code
implementation("org.jetbrains:kotlin-redux:4.0.5-pre.148-kotlin-1.4.21")