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

pardom

04/24/2019, 1:49 PM
The stacktrace shows a call to
lookupSerializerByType
which does not look for serializers in
listMappers
(where
registerList<Long>()
places the serializer).
e

e5l

04/24/2019, 1:51 PM
Hi @pardom. Unfortunately, deserialization of generic collections isn't supported for now(in common code).
p

pardom

04/24/2019, 1:51 PM
Hmm, I’m using the JVM runtime. Is the lack of support in Ktor or kotlinx.serialization?
e

e5l

04/24/2019, 1:52 PM
Probably
kotlinx.serialization
side.
p

pardom

04/24/2019, 1:52 PM
okay, thanks.
3 Views