Skip to content

Commit c1f7b8c

Browse files
authored
Update json.resp.md
1 parent 494e0b9 commit c1f7b8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/commands/json.resp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ JSON.RESP returns an array reply specified as the JSON's RESP form detailed in [
3737
Create a JSON document.
3838

3939
{{< highlight bash >}}
40-
127.0.0.1:6379> JSON.SET item:2 $ '{"name":"Wireless earbuds","description":"Wireless Bluetooth in-ear headphones","connection":{"wireless":true,"type":"Bluetooth"},"price":64.99,"stock":17,"colors":["black","white"], "max_level":[80, 100, 120]}'
40+
redis> JSON.SET item:2 $ '{"name":"Wireless earbuds","description":"Wireless Bluetooth in-ear headphones","connection":{"wireless":true,"type":"Bluetooth"},"price":64.99,"stock":17,"colors":["black","white"], "max_level":[80, 100, 120]}'
4141
OK
4242
{{< / highlight >}}
4343

4444
Get all RESP details about the document.
4545

4646
{{< highlight bash >}}
47-
127.0.0.1:6379> JSON.RESP item:2
47+
redis> JSON.RESP item:2
4848
1) {
4949
2) "name"
5050
3) "Wireless earbuds"

0 commit comments

Comments
 (0)