Skip to content

Commit c920ba0

Browse files
Mentioning JSON data structure instead of Redis Stack
1 parent 6e50a31 commit c920ba0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ds/json/adv-jsonpath.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[JSONPath](https://goessner.net/articles/JsonPath/) expressions help you access specific elements within a JSON document, which is similar to how XPATH works for XML documents.
2-
JSONPath support was added to Redis Stack in version 2.0.
2+
JSONPath support was added to the JSON data structure in version 2.0.
33
Before that, [a legacy form of pathing](https://redis.io/docs/data-types/json/path/#legacy-path-syntax) was supported.
44
Only JSONPath will be discussed in this tutorial.
55

@@ -133,7 +133,7 @@ JSON.GET obj2 $.b[0]
133133
JSON.GET obj2 $.*[0]
134134
```
135135

136-
Redis Stack also supports slice syntax for arrays: `[start:`end`:`step`]`, where `start`, `end`, and `step` are indexes.
136+
JSON data structure also supports slice syntax for arrays: `[start:`end`:`step`]`, where `start`, `end`, and `step` are indexes.
137137
If the current node is an array, an array containing elements extracted from an array are returned, based on a `start` index, an `end` index, and a `step` index.
138138
Array indexes are zero-based; the first element is index 0. Start Index is inclusive; End index is not inclusive.
139139
The following rules apply:

0 commit comments

Comments
 (0)