Group Rows to JSON
The information on this page relates to the new upgraded interface of the IConduct platform. To view information about the Classic version of the user interface, follow this link.
The Group Rows to JSON algorithm allows you to group data from the schema and convert them to a JSON format.
The example of this data manipulation can be seen in the table below:
Source Data | Target Column (JSON Format) | |
---|---|---|
ID | First Name |
{"id": 1, "first_name":"Alli", }
{"id":2, "first_name":"Clyde", } |
1 | Alli | |
2 | Clyde |
To configure the Group Rows to JSON manipulate step, follow the instructions below:
- In the specific Interface work area, press the downward button next to the task and press the ‘+’ (plus sign) button.
Creating a New Step
- Select Create manipulation step.
- Navigate to the JSON section and select Group Rows to JSON.
JSON Section
- In the Group Rows to JSON work area, fill in the following fields:
Step Fields Configuration
The following table describes the fields available for this step:
Fields | Description |
---|---|
Name of step |
Provide a distinctive name for this step. |
Filter Expression |
Optional. Use this filed to filter data from the source database prior to inserting it into the Schema table. |
Sort Expression |
Optional. Use this field to sort data from the source database prior to inserting it into the Schema table. |
Order of Execution |
Enter the order in which this step should be executed. |
Audit notes |
Leave notes about the step if needed. This field may contain any information, such as the purpose of the step, further actions that must be taken etc. for you to work with the step in the future or to inform team members about your intent. |
Is Active |
Activate the switch to engage the scheduler for this step. |
Stop interface execution if query failed |
Optional. If enabled, the system will stop any data manipulation if the query returns an error. |
Save Schema (enabled per interface) |
If selected, the schema is created for this step. |
Target Column |
Select the column, which you want to convert to a JSON format. |
- Press the Create step button.