Skip to main content

Arguments

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

Response

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