qishibo / AnotherRedisDesktopManager

🚀🚀🚀A faster, better and more stable Redis desktop manager [GUI client], compatible with Linux, Windows, Mac.
MIT License
29.82k stars 2.52k forks source link

[Feature Request] JSON viewer? #1224

Open Zer0xxxx opened 2 weeks ago

Zer0xxxx commented 2 weeks ago

Hello!

Currently, when I click on a JSON Redis entry, I have an error message:

Visual display is not supported for this type. Please use console

What is the current state of this? I'm using Redis JSON a lot.

Zer0xxxx commented 2 weeks ago

Same issue with RedisInsight.

image

qishibo commented 2 weeks ago

exec type xxxxkey in console, you should got ReJSON-RL

but in some conditions you maight got json in cloud servers, this is usually due to the Redis developed by cloud service providers themselves, and there may be differences in command parameters, so the app cannot be directly compatible

Zer0xxxx commented 2 weeks ago

exec type xxxxkey in console, you should got ReJSON-RL

but in some conditions you might got json in cloud servers, this is usually due to the Redis developed by cloud service providers themselves, and there may be differences in command parameters, so the app cannot be directly compatible

Thank you for your answer! I'll try it this night. So, it's difficult to support this type in the GUI with a standard way? :(

qishibo commented 2 weeks ago

I've tried that before and I can only display the JSON value, if I try to edit or save them , there will be some errors due to the different params , such as json.set xxx xxx [additional params ], and this param is necessary

If necessary, it can be made read-only, can be displayed, but cannot be edited

qishibo commented 2 weeks ago

additional, you can exec JSON.GET xxx NOESCAPE , this cmd is standard Redis command, to see if you can get the correct result.

If same with standard Redis, I've try to compatible with it in a read-only mode