1. Prepare
Choose the conversion direction and use a representative source value, including edge cases such as empty or special characters.
Practical usage guide
Convert JSON payloads into XML for SOAP, SAP CPI, middleware and integration scenarios.
Choose the conversion direction and use a representative source value, including edge cases such as empty or special characters.
Compare the converted value with the source and verify that encoding, delimiters, data types and structure were preserved as expected.
Validate the result against the interface contract and target CPI runtime before transporting or sharing it.
Convert JSON into an XML sample for a SOAP or CPI mapping. A single top-level key with a non-array value becomes the root; array items repeat their element name and null becomes an empty element.
Input: {"Order":{"id":"A1","items":[1,2],"active":true,"note":null}} Output: <Order><id>A1</id><items>1</items><items>2</items><active>true</active><note/></Order> The tool formats the XML across lines.
Multiple top-level keys use a root element named root. Empty arrays produce no elements. JSON types are not preserved, so converting back may change the data. Check the root, repeated elements and namespace bindings against the receiving contract; conversion does not validate that contract.