title: How to parse Javascript object in redis lua script
body: <p>I am using node_redis npm package to call lua function. I want to pass javascript object to lua.</p>
  
  <p>Below is sample json object:</p>
  
  <pre><code>var feeds=[];
  var feed ={};
  feed.uId ="Zqr6jfu6pgqNpAKaf";
  feed.kIds =[];
  feed.kIds.push("2557f730-e7a9-11e6-a2e7-49a45a663faf");
  feed.kIds.push("224ec110-f9cc-11e6-8f0c-cb2069561ad8");
  feeds.push(feed);
  </code></pre>
  
  <p>I am calling eval function to execute my lua script:</p>
  
  <pre><code>client.eval(
  scriptId, //lua source
  0,
  feeds,
  function(err, result) {  
  console.log(err+'------------'+result);
  }
  );
  </code></pre>
  
  <p>In Lua How I can parse this object to insert all kIds in sorted set key of feed.UId ??</p>