# GET_PATH() Function

### Description

Extracts a value from JSON data using a path name

### Syntax

```sql
GET_PATH(data, path_string)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _json_ | JSON value or string | JSON or string | Yes |
| _path_ | JSON path to the value to extract | JSON path | Yes |

#### Notes

-   Parser-only; normalizes to JSONExtract then JSON\_EXTRACT mapping.

### Example

```sql
SELECT
    GET_PATH(data, 'user.name')
FROM
    my_table t;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/get_path

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
