Convert JSON to XML

Use the Convert JSON to XML activity to convert JSON text to XML and manipulate XML configurations.

Usage

This activity expects JSON text for input in the activity properties. You can also specify replacement strings.

Complete the following properties to use this activity:

  • Input JSON - Enter the JSON text to be converted to XML or click the Variable Reference icon and choose a variable. For example:

                        {"menu":
    { "id": "file",  
    "value": "File",  
    "popup": {  
      "menuitem": [  
        {"value": "New", "onclick": "CreateDoc()"
        },
        {"value": "Open", "onclick": "OpenDoc()"},
        {"value": "Save", "onclick": "SaveDoc()"}
        ]
        }
       }
     }  
                    
  • Replace List - If you want to make changes to the data when it is converted, click Add and enter the following information:

    • Replaced String - Enter the specific string to be replaced.

    • Replacement String - Enter the string for replacement.