title: jQuery data() object to JSON string
body: <p>I'm trying convert jQuery Data object to JSON string. </p>
  
  <p>I tried:</p>
  
  <p><code>$.data(plant).toJSON()</code></p>
  
  <p><code>JSON.stringify($.data(plant))</code></p>
  
  <p>but doesn't seems to be working. It showing undefined in firebug.(edited)</p>
  
  <p>This is what I got when I log $.data(plant):</p>
  
  <p><code>Object { residential="Condo", location="Garden", watering="Weekly"}</code></p>
  
  <p>Can anyone tell me how to convert this jQuery data() object to JSON string?</p>