Any chance that `kotlinx.serialization` 's `serial...
# serialization
a
Any chance that
kotlinx.serialization
's
serializeDynamic
and
deserializeDynamic
could eventually integrate with Kotlin/JS's `external interface`s? Maybe with some limits placed on custom serializers? It would be extremely slick if we could • annotate complex nested `data class`es as
@Serializable
• have kotlinx.serialization generate an
external interface
for us that aligns to that class • allow us to expose that
external interface
to JS consumers in a typesafe way (via
.d.ts
definitions) • automatically map the external interface to a corresponding data class (The main reason I'm not using external interfaces everywhere is because this is a multiplatform project, and data classes are needed for jvm/android/ios)