XML

This list of XML actions allows you to convert JSON objects to XML string and XML string to JSON objects.

Convert JSON to XML

Converts a JSON object to an XML string.

Input settings

Parameter Description
JSON (required) The JSON object that will be converted to an XML string.

Output object

Property Type Description
xml String The converted XML string.

Output object example

{
  "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<name>John Doe</name>"
}

Was this helpful?

/

Convert XML to JSON

Converts a XML string to a JSON object.

Input settings

Parameter Description
XML (required) The XML string that will be converted to a JSON object.

Output object

Property Type Description
object Object The converted JSON object.

Output object example

{
  "object": {
    "name": "John Doe"
  }
}

Was this helpful?

/