> ## Documentation index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Search it with GET https://upstash.com/docs/search?q=<query>.
> Use these to discover all available pages before exploring further.

# JSON.STRLEN

> Report the length of the JSON String at path in key

## Arguments

<ParamField body="key" type="str" required>
    The key of the json entry.
</ParamField>
<ParamField body="path" type="str" required>
    The path of the string. `$` is the root.
</ParamField>

## Response

<ResponseField type="List[int]" required>
  The length of the string at the path.
</ResponseField>

<RequestExample>
```py Example
redis.json.strlen("key", "$.path.to.str")
```
</RequestExample>
