Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-staging.auth0-mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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

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

Output object

PropertyTypeDescription
xmlStringThe converted XML string.

Output object example

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

Convert XML to JSON

Converts a XML string to a JSON object.

Input settings

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

Output object

PropertyTypeDescription
objectObjectThe converted JSON object.

Output object example

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