Closed cw1427 closed 4 years ago
You should check RedisJSON2.
WOW, that is awesome. @gkorland will think about migrate to redisjson2. Is it ready the redison-py or other language client library to support redisjons2 ?
Yes, the existing clients should work with it
Perfect, I will have a trial. Thanks a lot @gkorland.
Hi @gkorland :
I go through the redisjson-py master branch code, but didn't find any command interface regard redisjson2. Are you sure that it had already been supported?
the client doesn't support indexes yet, but you can pass Path supports any string based path.
e.g.
rj.jsonget('obj', Path('$.truth.coord[?(@.name==\'Admin\')]'))
It looks like doesn't support jsonpath filter feature? Like for example: "[?(@.name=='Admin')]"
Refer: https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html