redis: Possible to update hash values with RedisJSON?

63 views Asked by At

The documentation and Internet at large don't seem to provide any examples of setting values into a JSON object stored as a hash value, yet I know that the Redis collection types are often just hacks that allow their underlying storage to be managed similarly to scalar keys.

Can someone confirm whether RedisJSON supports this or doesn't, and, if it does, provide an example?

Thank you.

https://redis.io/commands/json.set

1

There are 1 answers

2
Guy Korland On BEST ANSWER

RedisJSON introduces a new JSON data type to Redis.

Therefor JSON.SET can only act on JSON types.