XML (Extensible Markup Language):
XML is designed to store and transport data. It is designed to be self-descriptive. It is designed to carry data, not to display data. XML tags are not predefined. It is platform-independent and language-independent.
JSON (JavaScript Object Notation):
JSON stands for JavaScript Object Notation. It is a lightweight format for storing and transporting data. It is often used when data is sent from a server to a web page. It is “self-describing” and easy to understand
XML to JSON Converter :
XML to JSON converter converts XML file format into JSON file format.
In contrast, XML is still the go-to choice for transmitting structured data over the web.
JSON is data-oriented, whereas XML is document-oriented.
JSON does not provide display properties, whereas XML does.
Steps for XML to JSON Converter :
Step 1: In the i-flow, add a content modifier connecting to the start timer.
Step 2: Click on the content modifier and give the XML data in the message body.
Step 3: Add XML to JSON converter connecting to the content modifier.
Step 4: Click on the converter, go to processing, and give the mapping details.
Step 5: Now click on Save and deploy.
The JSON output is as follows