Skip to main content

Arguments

key
str
required
The key of the json entry.
path
str
required
The path of the value to set.
value
TValue
required
The value to set.
nx
boolean
default:"None"
Sets the value at path only if it does not exist.
xx
boolean
default:"None"
Sets the value at path only if it does exist.

Response

Returns true if the value was set.
redis.json.set(key, "$.path", value)
I