2808 explained code solutions for 75 technologies


php-redisGet JSON from Redis hash


If our JSON is stored as a hash:

$redis->hgetall('json');ctrl + c
$redis

Redis object after connection

hgetall

gets all key/values from hash

json

name of the hash to get JSON from