Home > Transforms Nodes > JSON Query > JSON Query Node Editor > JSON > Structure
In the Structure tab, the JSON data structure for the selected column is displayed. The structure or the Data Guide table must be generated in the parent source node, for example, Data Source node. If the structure is not found, then a message is displayed to communicate the same.
The following information about the data structure is displayed:
JSON Attribute: Displays the generated JSON structure in a hierarchical format. You can select one or more attribute to import. When you select a parent attribute, all child attributes are automatically selected.
JSON Data Type: Displays the JSON data types of all attributes, derived from JSON data.
Unnest: All attributes inside an array are unnested in a relational format. By default, the Unnest option is enabled. When the Unnest option for an array attribute is disabled, then:
The child attributes are displayed but cannot be selected.
If the array attribute is selected for output, then the output column will contain JSON representation of the array.
You can perform the following tasks in the Structure tab:
Set viewing preferences: In the View field, you can set your viewing preferences by clicking any of the following:
All: To view all attributes.
Only Selected: To view only the selected attributes.
Only with Filters: To view only those attributes, along with their parent attributes, that have filter definitions applied.
Selected and with Filters: To view only the selected attributes that have filter definitions.
Select attributes: To select one or more attribute, click the check box against the attribute.
|
Note: When you select an attribute, the parent attribute is selected automatically. If you select a parent attribute, then all its children attributes are automatically selected. This is applicable if none of its immediate child attribute is part of the group selection. |
Copy filter: Click
to copy the filter of an attribute to local cache. You can then apply the copied filter to another attribute with the same data type by using the paste option.
|
Note: This option is enabled only if the selected attribute has a filter definition. |
Paste filter: After copying a filter from an attribute, click the attribute to which you want to paste the filter and click
.
|
Note: Attributes with compatible data type can accept the copied filter. For example, a filter that is copied from an attribute with NUMBER data type can be pasted to attributes with NUMBER data type only. |
Clear filter: Select the attribute from which you want to remove the filter and click
.
Edit filter: You can add or edit filter for any of the attribute type STRING, NUMBER, BOOLEAN, and ARRAY, by using the in place edit option. To edit or add a filter to an attribute:
Select the attribute and click
. Alternately, select the attribute and double click the corresponding Filter column cell. The in place edit option for the selected attribute is enabled with the applicable operators listed in the drop-down list. Select an operator from the drop-down list.
Select the value from the corresponding field by clicking
. The Find Values dialog box opens.
In the Find Values dialog box, select the values and click OK. The filter and the values are now visible in the JSON Query Node Editor dialog box, as displayed below:

To complete the editing, press the Enter key. To cancel editing, press the Esc key