JSON itself is not ordered, so i do not think there will ever be an option on this.
Original Message:
Sent: Fri December 25, 2020 03:49 AM
From: Pranjit Biswas
Subject: XML JSON Transformer Service - B2Bi 6.0.3
Thanks Sreekanth for the idea. Will check and see the version of json jar that is being currently used.
I also got to know from Sreedhar (IBM) that in our current version, the elements are not retained in xml to json conversion. Its a documented issue.
------------------------------
Pranjit Biswas
Original Message:
Sent: Wed December 23, 2020 07:47 AM
From: Shreekant Prasad
Subject: XML JSON Transformer Service - B2Bi 6.0.3
Hi Pranjit,
You are correct, as of now there is no option/params to control, Howerver I have not faced this issue yet, so I suggest you to try with a different/latest jar (json-20170516.jar)
file once or raise a PMR with IBM support.
------------------------------
Shreekant Prasad
Original Message:
Sent: Tue December 22, 2020 01:19 AM
From: Pranjit Biswas
Subject: XML JSON Transformer Service - B2Bi 6.0.3
Hello All,
Advance Merry Christmas and new year wishes.
We are facing an issue when using XML Json Service to convert an xml document to corresponding json format.
The sequence of xml tags/particle is randomly re-arranged in the json output and there is no option/params that we can provide to control / retain the same xml sequence in the output json format which will be an issue on downstream application.
Can anyone shed some light how to retain the same xml sequence in the json output ?
------------------------------
Pranjit Biswas
------------------------------
#B2BIntegration
#SupplyChain