redisjson

how to store a complex object in redis (using redis-py)

how to store a complex object in redis (using redis-py) Question: The hmset function can set the value of each field, but I found that if the value itself is a complex structured object, the value return from hget is a serialized string, not the original object e.g images= [{‘type’:’big’, ‘url’:’….’}, {‘type’:’big’, ‘url’:’….’}, {‘type’:’big’, ‘url’:’….’}] …

Total answers: 10