Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 REST and JSON Palette : Parse JSON

Parse JSON
Activity
The Parse JSON activity takes JSON data, processes it, and turns it into XML data.
 
Configuration
The Configuration tab contains the following fields as shown in Table 22.
By default, the Badgerfish check box is cleared. For more information, see Mapping from JSON Data to XML Data.
Note: User can configure the com.tibco.plugin.restjson.json2xml.preferNamespaceFromSchema property to prefer namespace from schema. Refer to Preferring Namespace from Schema Using StAXON.
Input
The Input tab contains the following field as shown in Table 23.
Output Editor
The Output Editor tab allows you to define or reference an XML schema for the activity output. You can use the JSON Tools to generate an XML schema file with a given JSON file.
See Using the JSON Tools for more information about the JSON Tools. See "Specifying Data Schema" in TIBCO ActiveMatrix BusinessWorksTM Palette Reference for more information about the Output Editor.
Output
The output for the Parse JSON activity varies depending on the data schema you specified in the Schema Type field in the Configuration tab.
Error Output
The Error Output tab lists the exceptions that can be generated by the Parse JSON activity. See Trace Messages for more information about error codes.
When using a POJO JAR file to format the XML data, TIBCO ActiveMatrix BusinessWorksTM Plug-in for REST and JSON only supports class names in lowercase in the input JSON data.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved