How do you get the auto generated KSerializer from...
# serialization
h
How do you get the auto generated KSerializer from Java?
1
Okay, it will compile in the ususal way but the IDE shows an error:
Cannot resolve symbol 'Companion'.
b
I wouldn't be surprised if java's compiling before kotlin (and its serializer generating plugin) does, so the generated companion object doesn't exist yet. that's just a guess though
a quick solution until someone has something better could be adding a function in kotlin that calls/gets the serializer, then calling that from java