Conversion of xml to json
Summary
Conversion of xml to jsonContent
Hi,
Is it feasible to convert xml to json as explained below:
Facing issue for string datatype elements while invoking the target system in ICS. we are using javascript to convert xml to json.
eg; phone is of string datatype over xml - if we pass number for phone at xml then on conversion response json is having value phone: 23249480 but expected as phone: "23249480" how to handle datatypes during conversion.
The sample xml is as follows:
<shipmentRequest>
<Kind>1</Kind>
<ActorCSID>63</ActorCSID>
<ProdConceptID>113</ProdConceptID>
<Addresses>
<Kind>2</Kind>
<Name1>Test sender</Name1>
<Street1>Test Address</Street1>
1