0

I try to use hiredis (a Redis client written in C), to send and retrieve the dictionary data, from the Redis server.

I can send/receive simple data by using hiredis APIs. I can also retrieve and send the dictionary data using redis-py (a Redis client written in Python). However, I can't find the APIs for dictionary data types in hiredis.

My data is like: data = {2: {"load":2.5, "temp":30 } }

Anyone please give some helps? Thank you.

1 Answer 1

0

problem fixed. I wrapped up the dictionary into a string.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.