README ¶
Log
This activity allows you to convert XML data to JSON object.
Installation
Flogo CLI
flogo install github.com/AiRISTAFlowInc/fs-contrib/activity/xml2json
Configuration
Input:
Name | Type | Description |
---|---|---|
xmlData | string | The XML data to be converted |
Output:
Name | Type | Description |
---|---|---|
jsonObject | object | The JSON object |
Examples
The below example logs a message 'test message':
{
"id": "xml2json_activity",
"name": "XML2JSON Activity",
"activity": {
"ref": "github.com/AiRISTAFlowInc/fs-contrib/activity/xml2json",
"input": {
"xmlData": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><hello>world</hello>"
}
}
}
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { }
Activity is an activity that converts XML data into JSON object. inputs: XML data outputs: JSON object
Click to show internal directories.
Click to hide internal directories.