Skip to content

Commit

Permalink
DEV: update link in JSON section (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwdougherty authored Jun 12, 2024
1 parent 902339c commit 83b3b46
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ See [JSONPath examples]({{< relref "/develop/data-types/json/path" >}}) for exam

### Legacy path syntax

The [legacy path syntax]({{< relref "/develop/data-types/json/path" >}}) refers to the path implementation in RedisJSON v1. RedisJSON v2 still supports this legacy path syntax in addition to JSONPath syntax.
The [legacy path syntax]({{< relref "/develop/data-types/json/path" >}}#legacy-path-syntax) refers to the path implementation in RedisJSON v1. RedisJSON v2 still supports this legacy path syntax in addition to JSONPath syntax.

The legacy path syntax works as follows:

Expand All @@ -59,7 +59,7 @@ The following paths refer to `headphones`, which is a child of `inventory` under

### Key name rules

You can only use the [legacy path syntax](#legacy-path-syntax) to access JSON keys if they follow these name syntax rules:
You can only use the legacy path syntax to access JSON keys if they follow these name syntax rules:

- Key names must begin with a letter, a dollar sign (`$`), or an underscore (`_`).
- Key names can contain letters, digits, dollar signs, and underscores.
Expand Down

0 comments on commit 83b3b46

Please sign in to comment.