Closed polcar closed 8 years ago
redis-dump-load should be able to dump these values like any other string values. There is no need to depickle them.
I see but I what I want is to dump a human-readable data.
You could do this fairly straightforwardly by overwriting _reader
and _writer
methods with ones that unpickle and pickle the values, respectively, and delegate to the base methods for the actual reading and writing.
I am storing pickled python object as Redis values. I would like to specify function that convert (depickle/jsonifu) redis values. Is it possible?