Thread
#serialization
    h

    Hauke Radtki

    2 years ago
    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