xmlutil
xmlutil copied to clipboard
XML Serialization library for Kotlin
I have a nested structure such that a property of my main class is a sub-class. By default, during serialization the sub-class creates a tag even when it has no...
I am not able to decode an XML with entity references on Android. ``` val xml = XML { repairNamespaces = true recommended() } var string = "\n" + "\n"...
The library has less focus on documentation than ideal. Better documentation is desirable.
When running into NodeJS the dom API are not available. I would recommend a fallback to https://github.com/jsdom/jsdom with a separate artifact for nodejs.
I have this xml structure: ```xml ... ... ``` As a result, you need to create as many as three classes: ```kotlin @Serializable class Header( val modelInfo: ModelInfo, val modelVersion:...
My goal is to build something similar to this: ``` ``` But with `XmlSerialName` annotation I can only have 1 namespace. How can I add more than one? I don't...
Hello, I have an object ```kotlin // (The prefix is empty because it mustn't have any prefix even its parent prefix) @XmlSerialName("A", "http://tempuri.org/", "") @Serializable object ARequest ``` And XmlSerialName...
A step by step repo migration should be present. I've been using the bintray repo but seems to be down now. I've checked github and a part of the repo,...
This feature requires some additional work and external tool, but I am putting it here just to track it. It is possible to generate Kotlin class file compatible with `kotlinx.serialization`...
stringify -> encodeToString toXML -> encodeToXml parse -> decodeFromXml Right now you have both, but it is a bit confusing. I think it won't hurt to use canonical names.