miniredis
miniredis copied to clipboard
Support for JSONSet and JSONGet from go-rejson
Are there any plans to introduce support for go-rejson?
Are there any plans to introduce support for go-rejson?
hi,
can you point to some documentation, and what you need exactly? Thanks!
RedisJSON is a Redis module that implements ECMA-404 The JSON Data Interchange Standard as a native data type. It allows storing, updating and fetching JSON values from Redis keys (documents).
There are libraries that allow to easily use re-json with go-redis: https://github.com/nitishm/go-rejson
ie:
reJsonHandler := rejson.NewReJSONHandler()
reJsonHandler.SetGoRedisClient(redis.Client)
Would like to know if there are plans to support reJson functionality within miniredis?
Hi, thanks again for your question.
I had a quick look at the module, which is pretty neat.
I personally don't have the plan to add commands from reJson, but I likely won't reject a (well tested) PR. I do think it would be quite a bit of work to make and test, though.