Json
JSON.ARRAPPEND
Append values to the array at path in the JSON document at key.
To specify a string as an array value to append, wrap the quoted string with an additional set of single quotes. Example: '"silver"'.
Arguments
keybodystrrequired
The key of the json entry.
pathbodystrrequired
The path of the array. $ is the root.
valuebody...TValue[]required
One or more values to append to the array.
Response
List[int]required
The length of the array after the appending.
Example
redis.json.arrappend("key", "$.path.to.array", "a")