Json
JSON.SET
Set the JSON value at path in key.
Set the JSON value at path in key.
redis.json.set(key, "$.path", value);
Arguments
key
string
requiredThe key of the json entry.
path
string
default: "$"The path of the array.
value
TValue
requiredThe value to set.
Response
OK
Was this page helpful?
Set the JSON value at path in key.
redis.json.set(key, "$.path", value);