The XMLTOJSON workflow application provides a reliable way to convert structured XML content into equivalent JSON content. This is particularly useful when working with form data, configuration files, or API responses that were originally encoded in XML but need to be consumed in workflows where JSON is the preferred format.
Parameters
| Name | Type | Direction | Description |
|---|---|---|---|
XML_STRING |
TEXT | IN | The XML string to convert |
XML_FILE |
FILE | IN | The XML file to convert |
REMOVE_DECLARATION |
TEXT | IN | Specifies if the XML declaration should be removed from JSON: Y (default) or N |
REMOVE_SCHEMA |
TEXT | IN | Specifies if the XML schema should be removed from JSON: Y (default) or N |
INDENT_JSON_OUTPUT |
TEXT | IN | Specifies if the JSON output should be indented: Y or N (default) |
JSON_STRING |
TEXT | OUT | The JSON output string |
JSON_FILE |
FILE | OUT | The JSON output file |