Skip to content

Commit a0bc305

Browse files
authored
Update json.debug-memory.md
1 parent 48deebc commit a0bc305

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/commands/json.debug-memory.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ For more information about replies, see [Redis serialization protocol specificat
2929
Create a JSON document.
3030

3131
{{< highlight bash >}}
32-
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]}'
32+
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]}'
3333
OK
3434
{{< / highlight >}}
3535

3636
Get the values' memory usage in bytes.
3737

3838
{{< highlight bash >}}
39-
127.0.0.1:6379> JSON.DEBUG MEMORY item:2
39+
redis> JSON.DEBUG MEMORY item:2
4040
(integer) 253
4141
{{< / highlight >}}
4242
</details>

0 commit comments

Comments
 (0)