# TO_DOUBLE_ARRAY function

## `TO_DOUBLE_ARRAY` function

| Function Name | Description | Usage | Input parameter | Return value |
|---|---|---|---|---|
| `TO_DOUBLE_ARRAY` | Converts a JSON array to a double array. | `TO_DOUBLE_ARRAY()` | N/A | A double array. |

## Supported data type


The `TO_DOUBLE_ARRAY` function supports the following data type:

- JSON

## Example: Convert JSON array to a double array


**Sample data** : `$var1$ = [1.3, 4.8, 7.9]`


**Usage** : `$var1$.TO_DOUBLE_ARRAY()`
Convert var1 to a double array.


**Output** : `{1.3, 4.8, 7.9}`

## Recommendation

- Learn how to add and configure a [Data Mapping task](https://docs.cloud.google.com/application-integration/docs/configure-data-mapping-task.md.txt)