diff --git a/lib/redis.js b/lib/redis.js index fb554c8..80e1c43 100644 --- a/lib/redis.js +++ b/lib/redis.js @@ -273,7 +273,10 @@ BridgeToRedis.prototype.fromDb = function(model, data, fields) { delete data[i]; continue; } - if (!p[i]) continue; + if (!p[i]) { + data[i] = JSON.parse(data[i]); + continue; + } if (!data[i]) { data[i] = ''; continue;