Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
14k views

Converting XML to JSON using GSON in PI Java Mapping

I am facing issue while converting the source XML into JSON using the GSON library. Please find below the source XML, code, actual output and expected output. I am implementing this in Java mapping of ...
Kaushik's user avatar
  • 165
0 votes
1 answer
562 views

Encapsulate XML into JSON list

I need to convert an XML source to a specified JSON format. To do this I need to remove header nodes, retain the array body and encapsulate in square brackets [ ]. I have converted the body but I am ...
Loretta's user avatar
  • 11