Now I create my own serializer with this descripto...
# serialization
a
Now I create my own serializer with this descriptor:
Copy code
override val descriptor: SerialDescriptor = object : SerialClassDescImpl("Point") {
    override val kind: SerialKind get() = StructureKind.LIST

    init {
        addElement("x")
        addElement("y")
    }
}
which I’m unsure is the way to go