Create built-in typed XML->JSON conversion workflow service agent

It’s needed for calling external REST services based on JSON.
Generating JSON directly at XML transformation is cumbersome.
The functionality is already implemented in Custome API’s XsltDataPage.
We need to keep ‘OmitRootElement’ boolean parameter to remove Origam ROOT element from outgoing JSON data
We need to add yet another boolen parameter ‘OmitMainElement’ to remove first main element name from resulting JSON data, so that array of obects is always returned, because that’s how REST JSON apis usually work.

Please provide an example to the documentation (source xml and result json examples)

Documentation has been updated.

1 Like

@jsusen please add the service model element into model root package

I have tested it. It worked OK

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.