ParseJSON
This Activity takes stringified JSON data as input and converts it into a JSON object, which can then be accessed by the downstream activities that follow. You provide the input to the Activity either by entering the stringified JSON data manually on the Input tab or saving it in a file and entering the file path on the Input tab. The Activity supports output validation if you opt to validate the input JSON data against the output schema that you configure on the Output Settings tab.
Settings
Field | Description |
---|---|
Output Validation |
True: Select True to validate that the JSON data in your input string matches the schema that you configure on the Output Settings tab of the Activity. False: Select False to skip the validation of the JSON data in your input string against the schema you configured. This field can be configured with an app property. |
Input
Field | Description |
---|---|
jsonString |
The string containing the JSON data that you want to parse. This Activity creates a JSON object with the parsed JSON data. Enter the string manually or map it to an element from the output of the trigger, flow input, or one of the preceding activities. |
Output Settings
Field | Description |
---|---|
Schema | The schema that you want to use to create the JSON object. You have the option to validate the stringified JSON (input to the Activity) against this schema. |
Output
The output schema is displayed in a read-only tree format.
Loop
Refer to the section on "Using the Loop Feature in an Activity" in the TIBCO Flogo® Enterprise User Guide for information on the Loop tab.