skip to Main Content

Use @redis/json node library to store json objects

I tried to use the "@redis/json" library to set json object in Redis. const redisClient = await createClient({ url: `redis://${redis.host}:${redis.port}`, }); await redisClient.connect(); redisClient.json.set() //getting json undefined error But redisClient doesn't recognize the json object. The docs are not clear

VIEW QUESTION
Back To Top
Search