title: How do I insert an array of hash maps into Redis? (Node.js)
body: <p>I'm using the Node.js module node_redis: </p>
  
  <pre><code>var data = [ {'name':'matt', 'id':'333' } , {'name':'Jessica','id':'492'} ] ;
  
  //Initialize Redis
  var redis = require('redis'),
  rclient = redis.createClient(settings.redis.port, settings.redis.host,{pass:settings.redis.password});
  rclient.auth(settings.redis.password, function(){});
  rclient.on("error", function (err) {});
  
  
  //OK, insert the data into redis
  rclient.set("mykey", data); 
  </code></pre>
  
  <p>When I do <code>set</code>, I get an error, why?</p>
  
  <pre><code>{ stack: [Getter/Setter],
    arguments: undefined,
    type: undefined,
    message: 'ERR wrong number of arguments for \'set\' command' }
  Error: ERR wrong number of arguments for 'set' command
  </code></pre>