How to convert XSD file to Java POJO #150
Replies: 3 comments
-
Unfortunately I haven't completed xsd support at this point (it is a quite complex standard, and its semantic model is not as easy as the document model). As such you will have to do mapping by hand. Additionally, this is a Kotlin library relying on the kotlin serialization plugin for creating the serializers. As such you cannot directly create objects in Java, but the objects created can be used from Java. Note that getting access to serializers from Java is also not as convenient as it is from Kotlin. |
Beta Was this translation helpful? Give feedback.
-
I was looking for command like |
Beta Was this translation helpful? Give feedback.
-
I figured you were looking for an equivalent to that (generating Kotlin classes). Unfortunately this doesn't exist at this point (it is a long-term work in progress project). |
Beta Was this translation helpful? Give feedback.
-
How can we convert our xsd or xml file to pojo classes annotated with support of this library in java?
Beta Was this translation helpful? Give feedback.
All reactions