Upstash · Method
redis.json.set
Sets a value at a JSON path inside a Redis key. Use $ for the root, and optionally use nx or xx for conditional writes.
Last updated
Syntax
redis.json.set(key, path, value, options?)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
JSON.GETJSON.MERGEJSON.DELJSON.MGETJSON.MSET