Open hfhbd opened 7 months ago
I had a look. This was indeed a problem with handling reordering in the "correct way" - reordering must be delayed for the actual inline value (a special case), but then the actual child wasn't reordered properly.
The fix should be available in the snapshots.
Thanks, will try it out next days.
Hey, I expect the order of the encoded elements would be the same as the order of the declaration:
Kotlin 1.9.22 Kotlinx serialization core: 1.6.2 XmlUtil: 0.86.3
There is a workaround though using a regular data class: