Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for JSONSet and JSONGet from go-rejson #84

Open
lloiacono opened this issue Jul 8, 2019 · 3 comments
Open

Support for JSONSet and JSONGet from go-rejson #84

lloiacono opened this issue Jul 8, 2019 · 3 comments

Comments

@lloiacono
Copy link

Are there any plans to introduce support for go-rejson?

@alicebob
Copy link
Owner

alicebob commented Jul 8, 2019 via email

@lloiacono
Copy link
Author

lloiacono commented Jul 8, 2019

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?

@alicebob
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants