<@U0B8ZP13Q> I don’t understand. Is that a questio...
# announcements
o
@cedric I don’t understand. Is that a question or a statement on how to solve my issue?? The problem I’m trying to solve is that I need to serialize and deserialize a KClass. Right now I serialize by calling
KClass.qualifiedName
but then I’m finding I can’t deserialize that easily. If it turns out that the
KClass
represented a “regular” class then
Class.forName(whatISerialized).kotlin
works but if the
KClass
was a
KClass<Int>
or something then what gets serialized is
<http://kotlin.Int|kotlin.Int>
and
Class.forName(”<http://kotlin.Int|kotlin.Int>”)
fails. I can change how I’m serializing and/or how I’m deserializaing. I just need a reliable “round-trip”. Make sense?