Details
| ID | ConvertXmlToJson |
|---|---|
| Language | javascript |
| From Version | 5.0.0 |
| Tags | Utility |
README
Converts a XML string to JSON format.
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | Utility |
Inputs
| Argument Name | Description |
|---|---|
| xml | The valid XML to convert to JSON format. |
| contextKey | The context key to push the JSON result to. |
| verbose | Prints the JSON result to War Room. |
Outputs
There are no outputs for this script.
commonfields: id: ConvertXmlToJson version: -1 name: ConvertXmlToJson script: '' type: javascript tags: - Utility comment: Converts XML string to JSON format enabled: true args: - name: xml required: true default: true description: The valid xml to convert to json format. - name: contextKey description: The context Key to push json result to. - name: verbose auto: PREDEFINED predefined: - "True" - "False" description: Print json result to warrom. defaultValue: "True" scripttarget: 0 dependson: {} timeout: 0s fromversion: 5.0.0 tests: - No tests (auto formatted)