-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
The existing JSON to XML action has the following shortcomings:
- XML component lacks any transformation capacity for the JSON to XML case. Can be overcome by adding JSONata transform in front but that is cumbersome.
- Lack the capacity to create attachments in the JSON to XML case. Can be overcome by adding the utility component afterwards but is also cumbersome.
- JSON to XML case wrap things in a tag by default. There is a setting explicitRoot in the converter library to toggle this: https://www.npmjs.com/package/xml2js#options This change can't be cleanly implemented without making backwards incompatible changes thus justifying the need for a new action.
- The existing library has memory problems and it may be beneficial to migrate away: Consider migrating away from xml2js library #17