Turn a json into an xml

I would like to know how to go about turing a json into an xml-format. I have only seen other discourse topics going the other way around.

Moin @jasper-silent-root,

in the case that you want to convert an A12 document to an XML you could use com.mgmtp.a12.dataservices.document.support.DocumentSupport#convertDocumentToXML method.

Ooh, I never knew about this. Commenting, so I remember next time I run across this.

Actually, this method is dropped in 2024.06, because DS will swap into JSON format internally. As this is a kernel task, you can use kernel API to serialize/deserialize IDocument to JSON or XML.