Introduction:

This connector is used to transform an Xml file to a Json file. 

How does the connector work?:

There is no format file used for the connector XmlToJson. What happened in the transformation is that the XML tag is tranformed to a json field.

The tag that contains sub tags in the XML file are converted to object in braces ({}), their name-value pairs are separated by a comma (,), and the name and value in a pair are separated by a colon (:). Names in an object are strings, whereas values may be of any of the seven value types, including another object or an array.

The name of the xml tag is converted to the name of the field and the content of the xml tag is converted to the content of the field.

Example:

1658749258559-560.png

The connector properties

                                          1658749167501-531.png

1658749220793-931.png

 

Tags:
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian