Arguments
string
required
The key of the json entry.
string
default:"$"
The path of the array.
TValue
required
The value to set.
Response
OKDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set the JSON value at path in key.
redis.json.set(key, "$.path", value);
const value = ...
redis.json.set(key, "$.path", value, { nx:true });
const value = ...
redis.json.set(key, "$.path", value, { xx:true });
Set the JSON value at path in key.
OKSet the JSON value at path in key.
redis.json.set(key, "$.path", value);
const value = ...
redis.json.set(key, "$.path", value, { nx:true });
const value = ...
redis.json.set(key, "$.path", value, { xx:true });
Was this page helpful?