https://kotlinlang.org logo
#serialization
Title
# serialization
h

Hauke Radtki

01/08/2020, 8:19 PM
Is there any workaround for serializing inline classes (or UInt/UShort/UByte specifically). I know inline classes are not supported for serialization right now, but is there a way to make it work (no matter how verbose)?
What I tried:
@ContextualSerialization
and specifying a serializer directly via
@Serializable(with=...)
on the properties
Both result in a build error regarding invalid bytecode
3 Views