nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.83k stars 304 forks source link

Output from command HGETALL #8

Closed aleksraiden closed 13 years ago

aleksraiden commented 13 years ago

Now this command output raw array, where keys and hash value are in one big array.

E.g.:

HGETALL: [ "testhashkey", "valueofhashkey", "testhashkey2", "value2", .... ]

Maybe is not good to processing. In good examples - HGETALL is object (assoc array), where hashkeys are key and his value are values of this key, e.g.

HGETALL:{ "testkey":"testvalue", "testkey2": "value2" }

nicolasff commented 13 years ago

Hello,

This is a good suggestion, I'll add it today.

Thanks.

aleksraiden commented 13 years ago

Thanks, will be cool, we need to use this features now in our project and very important issue for me.

nicolasff commented 13 years ago

Done. Let me know if it works for you.

aleksraiden commented 13 years ago

Hi, very well, work fine! Nice job!

Thanks.