Utility JSON to Results
This handler converts a JSON string into an XML result string.
Downloads
By downloading this file, you acknowledge that you agree to our Terms of Service
Detailed Description
This handler is useful for converting JSON array declarations to XML strings.
Below is an example of the type of conversion from JSON to XML.
{
"key2":"val2",
"key3":"val3",
"key1":"val1"
}
OUT:
<results>
<result name="key1">val1</result>
<result name="key2">val2</result>
<result name="key3">val3</result>
<results>
Parameters
Name | Description |
---|---|
JSON | The JSON String to be converted to XML. |
Sample Configuration
Parameter | Example Configuration |
---|---|
JSON | <%=@answers['VM Name']%> |
Results
An XML String that was converted from the given JSON
Name | Description |
---|---|
<name(s) from json> | <value(s) from json> |
Change Log
Version | Date | Description |
---|---|---|
V3 | 2016 Mar 14 | * Changed JSON library to 1.4.6 for use with Task 4 |
V2 | * Escaped results * Set placeholder for results in node.xml | |
V1 | 2011-07-03 | Initial Version |