Skip to content

Commit b547ba2

Browse files
authored
Update json.type.md
1 parent 4367ec0 commit b547ba2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docs/commands/json.type.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ 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":2, "nested": {"a": true}, "foo": "bar"}'
28+
redis> JSON.SET doc $ '{"a":2, "nested": {"a": true}, "foo": "bar"}'
2929
OK
30-
127.0.0.1:6379> JSON.TYPE doc $..foo
30+
redis> JSON.TYPE doc $..foo
3131
1) "string"
32-
127.0.0.1:6379> JSON.TYPE doc $..a
32+
redis> JSON.TYPE doc $..a
3333
1) "integer"
3434
2) "boolean"
35-
127.0.0.1:6379> JSON.TYPE doc $..dummy
35+
redis> JSON.TYPE doc $..dummy
3636
{{< / highlight >}}
3737

3838
## See also
@@ -43,6 +43,3 @@ OK
4343

4444
* [RedisJSON](/docs/stack/json)
4545
* [Index and search JSON documents](/docs/stack/search/indexing_json)
46-
47-
48-

0 commit comments

Comments
 (0)