redis.json("key", "$.path.to.array", "a")

Arguments

key
str
required
The key of the json entry.
path
str
default:"$"
The path of the array.
value
...TValue[]
required
One or more values to append to the array.

Response

The length of the array after the appending.
redis.json("key", "$.path.to.array", "a")