Skip to main content

Arguments

key
str
required
The key of the json entry.
path
str
required
The path of the array. $ is the root.
index
int
The index of the element to pop.

Response

The popped element or null if the array is empty.
element = redis.json.arrpop("key", "$.path.to.array")