.
Exists something similar that works with kotlinx.serialization?
t
TwoClocks
08/26/2020, 3:58 AM
I'm not sure. I think the @Serializble annotation is needed to make data classes just magicaly work. The annotation is part of the kotlin compile time... I don't think you can add it to java objects.
v
Vampire
08/26/2020, 8:23 AM
That will for sure not work, especially as I said, those are 3rd-party classes that I cannot modify