Skip to content
masterclass Buddy

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.

Subscribe
  • JSON.GET
  • JSON.MERGE
  • JSON.DEL
  • JSON.MGET
  • JSON.MSET

Source: JSON.SET. Checked 2026-11-03.