This family groups a set of actions related to JSON and XML converting.
Convert JSON to XML
Converts a JSON object to an XML string.
Input settings
Parameter |
Description |
ID (required) |
Action ID. It is used to reference the output values of the action. |
Alias |
Short description to be displayed in the action. |
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>Jane Doe</name>"
}
Convert XML to JSON
Converts a XML to JSON object.
Input settings
Parameter |
Description |
ID (required) |
Action ID. It is used to reference the output values of the action. |
Alias |
Short description to be displayed in the action. |
XML (required) |
The XML that will be converted to a JSON object. |
Output object
Property |
Type |
Description |
object |
Object |
The converted JSON object. |
Output object example
{
"object": {
"name": "Jane Doe"
}
}