![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
TIBCO ActiveMatrix BusinessWorksTM Plug-in for REST and JSON provides the root node control. The following sections outline root node conversion rules:
• If the input JSON data does not have a single root, the default root element, JSON, is added in the output XML document. Note: If JSON root does not match with output editor root and either Badgerfish is not selected or StAXON is selected, the root element of schema specified in Output tab in the Parse JSON activity is used as wrapper in the generated XML.
• If the input JSON string does not have a single root, the root element of the schema, which you specified in the Output tab in the Parse JSON activity, is used as the root element. Note: If the root of the input JSON string does not match the root of the schema you specified in the Output tab, errors occur when running the Parse JSON activity.
• If the input JSON string does not have a single root, the root element of the schema, which you specified in the Output tab in the Parse JSON activity, is used as the root element.The XML root node is preserved in the converted JSON string. If the Remove Root check box in the Configuration tab in the Render JSON activity is selected, the root is removed in the converted JSON string.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |