I\'m a bit confused with all the available storing options of Redis. I want to do something simple and I don\'t want to over engineer it. I\'m working with phpredis
phpredis
In PHP you can just do
$redis->set($key, json_encode($value));
Then
$value = json_decode($redis->get($key));
Or use whatever serialization technique you prefer. JSON encode/decode was performant enough for me not to care.