Skip to content

Commit cd4d237

Browse files
authored
Update json.arrappend.md (copy-edits)
1 parent 5c5ec6b commit cd4d237

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/commands/json.arrappend.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@ stack_path: docs/data-types/json
3535
summary: Append one or more JSON values into the array at path after the last element
3636
in it.
3737
syntax_fmt: JSON.ARRAPPEND key path value [value ...]
38-
syntax_str: '[path] value [value ...]'
38+
syntax_str: 'path value [value ...]'
3939
title: JSON.ARRAPPEND
4040
---
41-
Append the `json` values into the array at `path` after the last element in it
41+
Append the JSON values into the array at `path` after the last element in it.
4242

4343
[Examples](#examples)
4444

4545
## Required arguments
4646

4747
<details open><summary><code>key</code></summary>
4848

49-
is key to modify.
49+
is the key to modify.
5050
</details>
5151

5252
<details open><summary><code>path</code></summary>
5353

54-
is JSONPath to specify.
54+
is the JSONPath to specify.
5555
</details>
5656

5757
<details open><summary><code>value</code></summary>
@@ -80,7 +80,7 @@ redis> JSON.SET item:1 $ '{"name":"Noise-cancelling Bluetooth headphones","descr
8080
OK
8181
{{< / highlight >}}
8282

83-
Add color `blue` to the end of the `colors` array. `JSON.ARRAPPEND`; Return the new length of the `colors` array.
83+
Add `blue` to the end of the `colors` array. `JSON.ARRAPPEND` returns the new length of the `colors` array.
8484

8585
{{< highlight bash >}}
8686
redis> JSON.ARRAPPEND item:1 $.colors '"blue"'

0 commit comments

Comments
 (0)