https://kotlinlang.org logo
#ktor
Title
# ktor
j

Joaquim Ley

10/28/2020, 2:55 PM
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 82: Expected string literal with quotes.
c

cy

10/28/2020, 3:23 PM
Doesn’t it explain the problem? Looks like the json is not correct
there are several non-standard things in json that need to be explicitly enabled in kotlinx.serialization
j

Joaquim Ley

10/31/2020, 10:42 AM
@cy It isn’t explicit as looking at the logs seems like ktor is not processing the whole response. It was indeed a model that wasn’t correct.
Thanks for your time and response 🙏
11 Views