Transform JSON
Transform JSON activity takes input data in JSON format and transforms it into JSON format according to the Jolt specifications.
General
The General tab has the following fields.
| Field | Literal Value/Module Property | Description |
|---|---|---|
| Name | None | The name to be displayed as the label for the activity in the process. |
| Spec File | Yes | Specify the location of Jolt specification file.
For more information, see Jolt Specification at Github.com. |
Description
Provide a short description for the Transform JSON activity.
Input
The Input tab has the following fields.
| Field | Description |
|---|---|
| JsonInput | Mandatory. Input content in the JSON format. |
| SpecContent | Provide Jolt specification file content in the JSON format.
You can either provide a path to the file in the General tab or provide file content in the SpecContent field. |
Output
The Output tab has the following fields.
| Field | Description |
|---|---|
| JsonOutput | Output in the JSON format converted as per the Jolt specification used. |
Fault
The Fault tab has the following fields.
| Fault | Generated When. |
|---|---|
| JSONTransformException | There is invalid Jolt specification file or JSON input. |
Note: If you are using an external file for JOLT specification in
SpecContent field, make sure that the file path is accessible to the application container.