...
Show JSON types as attributes?
Whether or not to include JSON element types should be included as attributes in Output XML or not.
Expand Array name to Child Elements ?
...
Note |
---|
|
Convert JSON To XML ?
...
If the property value is 'no' it is nothing but to convert XML to JSON
Figure 4: Component configuration - To convert XML to JSON
Skip Namespaces?
Whether or not to skip adding namespace declarations to XML elements while conversion.
Remove Namespace Prefix From Elements? (Yes/No)
Whether or not to remove the namespace prefix from XML elements should be removed when reading for XMLSerializer.
...
The JSON input with array object is sent from the Feeder to the JSON convertor and the corresponding XML output can be seen in Display. Here, root of the XML is the same as given in Figure 2. In the output, the root element is set as "abc", which has been given in CPS configuration. Here in "Sample Input", "quantity" is an array object. While converting into XML, each element of the array is stored in "bcd" fields, which has been given in CPS configuration.
Figure 12: Sample Event Process
...