Thank You Rex. this option is not available in ITX 9.*. Need to try this in newer version.
Original Message:
Sent: Wed August 30, 2023 11:36 AM
From: Rex Chan
Subject: XSD to JSON
There is no XML to JSON or JSON to XML conversion in ITX map. It's only available in ITX Flow Server as a node.
Design Server must be used to create the flow. The node is called Format Converter. Input or Output supported are CSV, XML and JSON.


------------------------------
Rex Chan
------------------------------
Original Message:
Sent: Wed August 30, 2023 08:47 AM
From: Srinivasulu Talapaneni
Subject: XSD to JSON
Hi Rex,
DO we have any function / a way to convert xml to JSON in Wtx / ITX.
Like we have TextToBase64 function or do we have any Run function that we can use?
Basicallly I should be able to use same funtion / method to convert both below xmls to corresponding JSON's
<ISF>
<Name>Srini</Name>
<Country>India</Country>
</ISF>
or
<Packet>
<Date>2023-01-01</Date>
<Time>23:50</Time>
</Packet>
Thanks,
Srini.
------------------------------
Srinivasulu Talapaneni
Original Message:
Sent: Tue August 29, 2023 06:15 PM
From: Rex Chan
Subject: XSD to JSON
The only way I know how to create a JSON template out of XML is to use Design Server. V10.1.2 (latest version) should have that feature. It's done in a flow where XML to JSON transformation is done by a node/service.
Design Server is available for Windows or Linux container. There should be a video to walk you through the installation in Paul Brett's Youtube channel Paul Brett IBM
| YouTube | remove preview |
 | | Paul Brett IBM | | Hints, Tips and Breaking News for the IBM Transformation Extender product from IBM | | View this on YouTube > |
|
|
------------------------------
Rex Chan