json_to_xml
Convert JSON data into XML format for use with legacy systems, SOAP APIs, or configuration files. Specify a root element name if needed.
Instructions
Convert a JSON string to XML format.
Use this when you need XML output from JSON data for legacy systems,
SOAP APIs, or configuration files.
Parameters:
json_str — The JSON string to convert.
root — Name of the root XML element (default: "root").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_str | Yes | ||
| root | No | root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |