Open arpitbbhayani opened 1 week ago
@arpitbbhayani I'd like to work on this task. Can you please assign this to me?
@lbihani9 assigned, thanks for picking this up.
@lucifercr07 Updates so far:
https://github.com/user-attachments/assets/558ce18d-1a90-4434-b28e-d4b5179e5857
JSON.RESP
in main redis repository (link shared above) maybe because JSON data structure is a part of redis-stack and not regular redis. I'm supposed to add unit and integration tests for this command, right?PS: I'm not well versed with unit and integration tests so it might take me sometime. I hope this won't be a blocker. 😅
Add support for the
JSON.RESP
command in DiceDB similar to theJSON.RESP
command in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the
tests
folder. Note: they have usedTCL
for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.For the command, benchmark the code and measure the time taken and memory allocs using
benchmem
and try to keep them to the bare minimum.