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

How to de-serialize this json in .net?

I need PreTaxCost and ResourceGroup out of this json, for further operations. { "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/Query/00000000-0000-0000-0000-000000000000", "name": "55312978-ba1b-415c-9304-cfd9c43c0481", "type": "microsoft.costmanagement/Query", "properties": { "nextLink": null, "columns": [ { "name": "PreTaxCost", "type": "Number" }, { "name": "ResourceGroup", "type": "String" }, { "name": "Currency",…

VIEW QUESTION
Back To Top
Search