Arguments
string
required
The key of the json entry.
string
required
The path of the value to set.
$ is the root.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.
$ is the root.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?