Render JSON
Render JSON activity takes XML data and renders it as a JSON string.
General
The General tab has the following fields.
Note:
- The "com.tibco.plugin.restjson.xml2json.emptytonull" property is newly added for the Rendor JSON activity. This property when set to true converts the "" (refers to empty string) and "{}" (refers to empty element or object) to the "null" value in the output generated by the Rendor JSON activity.
- The "com.tibco.bw.rest.renderjson.generic.parseDataTypes" property is newly added for the Rendor JSON activity with generic schema type. On setting this property to true, numeric values are rendered without quotes, else the default behavior of enclosing all values within quotes is followed.
Input Editor
From the Input Editor tab, you can define or reference an XML schema for the activity input. You can also use the BW JSON Utils tool to generate an XML schema file with a specified JSON file.
Input
The input data for the Render JSON activity is in the XML format. The schema type of the XML data varies depending on the schema type you specified in the Schema Type field on the General tab.
Copyright © 2020. TIBCO Software Inc. All Rights Reserved.