Issue for Jsonpath filter support
cw1427 opened this issue · 6 comments
cw1427 commented
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
gkorland commented
You should check RedisJSON2.
cw1427 commented
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 ?
gkorland commented
Yes, the existing clients should work with it
cw1427 commented
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?
gkorland commented
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\')]'))