Join Slack
Hi, I'm trying to deserielize content using ktor and kotlinx.serialization, and I'm getting a very w...
# serialization
a
Ayfri
09/17/2022, 2:31 AM
Hi, I'm trying to deserielize content using ktor and kotlinx.serialization, and I'm getting a very weird
Illegal Input
when I get a response that is an empty array, so just
[]
, that should totally not create that error right ?
d
Dominaezzz
09/17/2022, 10:11 AM
Sounds like a ktor problem. Which version are you using?
a
Ayfri
09/17/2022, 11:14 AM
2.1.1
Ayfri
09/17/2022, 11:14 AM
also the illegal input is more exactly
Copy code
[ ]
and not
[]
d
Dominaezzz
09/17/2022, 11:41 AM
Are you able to reproduce without ktor?
a
Ayfri
09/17/2022, 12:16 PM
No I can't, so I guess I'll move to
#ktor
🙂
42
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by