Open wbervoets opened 5 years ago
From what I read this needs a kotlin class. Since I'm generating a wrapper class on the fly (to mitigate some problems with Generics that some JSON Serializers have) I think that at the moment this will not be possible. If you know how to serialize plain Java Classes with this kotlinx lib feel free to give me an example. Then I will gladly implement something like that.
I'm not sure exactly what you require to get this implemented however I just came upon this issue and it may be possible to leverage the Android SharedPreferences serialization project which is mentioned in the documentation for Kotlinx Serialization here.
Hi,
I was wondering if it is possible to create a serializer that delegates serialization/deserialisation to the Kotlinx Serialization library?
Wim