You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using kotlinx.serialization 0.10.0 with ktor 1.1.2 on a multiplatform (Android & ios) project.
When i run my app in android everything works fine, but on ios, the deserialization fails for the same request (with the same answer) with kotlinx.serialization.json.JsonParsingException: Invalid JSON at 24576: Unexpected end in string.
I've done some tests and the error only occurs if the length of my json is bigger then:
16384 - if the json body is all in one line
32768 - if the json has mutiple lines
If my json is smaller than that all works fine also on ios.
Is there any limitation to the size of the json body on ios? If so is there any way to circumvent this?
The text was updated successfully, but these errors were encountered:
Hi,
I'm using kotlinx.serialization 0.10.0 with ktor 1.1.2 on a multiplatform (Android & ios) project.
When i run my app in android everything works fine, but on ios, the deserialization fails for the same request (with the same answer) with
kotlinx.serialization.json.JsonParsingException: Invalid JSON at 24576: Unexpected end in string
.I've done some tests and the error only occurs if the length of my json is bigger then:
16384 - if the json body is all in one line
32768 - if the json has mutiple lines
If my json is smaller than that all works fine also on ios.
Is there any limitation to the size of the json body on ios? If so is there any way to circumvent this?
The text was updated successfully, but these errors were encountered: