https://kotlinlang.org logo
b

Bradford Canonigo

09/13/2021, 9:10 PM
I am encountering issues while doing decode in Kotlin Multiplatform project, in the Android app to be specific. I have a function inside the SharedModule that checks the validity of a json string and unexpectedly returns a
KotlinReflectionInternalError
. Any thoughts? Here's the line of code I am trying to execute
Copy code
decoder.decodeFromString<JsonObject>(rawData)