title: nodejs object.property undefined error on parsing json
body: <p>I am using nodejs 0.10.32/33 but with either of them i am getting undefined exception on accessing the property of a json object. My test class looks like below:</p>
  
  <pre><code>var jvar = '{"name":"sumit","age":"33"}';
  var stdata = JSON.stringify(jvar);
  var sdata = JSON.parse(stdata);
  console.log(sdata);
  console.log(sdata.name);
  </code></pre>
  
  <hr>
  
  <p>and output from the above code is:</p>
  
  <pre><code>{"name":"sumit","age":"33"}
  undefined
  </code></pre>
  
  <p>I am unable to get what I am missing here.</p>