See the supported connectors for Application Integration.
GET_ELEMENT function
GET_ELEMENT
function
Function Name | Description | Usage | Input parameter | Return value |
---|---|---|---|---|
GET_ELEMENT |
Returns the element at the specified index in a JSON array. In the array, the first value is available at index 0 and the last value is available at index n-1 where n is the size of the array. | GET_ELEMENT(value) |
Index value of the element. | Value of the element. |
Supported data type
The GET_ELEMENT
function supports the following data type:
- JSON
Example: Get the value of an element in a JSON array
Sample data: $var1$ = ["first", "second", "third", "fourth"]
Usage: $var1$.GET_ELEMENT(2)
2
.
Output: third
Recommendation
- Learn how to add and configure a Data Mapping task