Perhaps this? ``` setListMapper(Long::class, Long....
# serialization
p
Perhaps this?
Copy code
setListMapper(Long::class, Long.serializer())
NVM, doesn’t work.
k
Long.serializer().list
Although it should be able to serialize a list of Serializable objects by default.
p
Thanks. I guess since
Long
isn't annotated with
@Serializable
?
s
Long should be serializable. This seems to be more ktor problem, since
setListMapper
is a function from ktor-client