kotlinx.serialization.SerializationException: Can't locate argument-less serializer for class LinkedValues. For generic classes, such as lists, please provide serializer explicitly.
I think I need to somehow indicate that this method should deserialize with
User.serializer().list
. But I'm not sure how to do that.
crummy
04/26/2020, 1:40 AM
I tried adding this to the method:
Copy code
@Serializable(with = User.serializer().list)
But the annotation is not applicable to member functions.