Skip to content

Commit 10829c0

Browse files
authored
Update json.objkeys.md
1 parent af521cc commit 10829c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/commands/json.objkeys.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ For more information about replies, see [Redis serialization protocol specificat
2525
## Examples
2626

2727
{{< highlight bash >}}
28-
127.0.0.1:6379> JSON.SET doc $ '{"a":[3], "nested": {"a": {"b":2, "c": 1}}}'
28+
redis> JSON.SET doc $ '{"a":[3], "nested": {"a": {"b":2, "c": 1}}}'
2929
OK
30-
127.0.0.1:6379> JSON.OBJKEYS doc $..a
30+
redis> JSON.OBJKEYS doc $..a
3131
1) (nil)
3232
2) 1) "b"
3333
2) "c"

0 commit comments

Comments
 (0)