title: jquery data attribute not parsing json string
body: <p>I am saving array of javascript objects in the html data attribute using <code>JSON.stringify()</code>. When I try to retrieve the data using jquery <code>.data()</code> function, I do not get deserialized array of javascript objects back, but gives me plain json string. I read, jquery <code>.data()</code> function deserializes Json string as quoted in documentation</p>
  
  <blockquote>
    <p><em>When the data attribute is an object (starts with '{') or array (starts with '[') then jQuery.parseJSON is used to parse the string;
    it must follow valid JSON syntax including quoted property names. If
    the value isn't parseable as a JavaScript value, it is left as a
    string</em></p>
  </blockquote>
  
  <p>I think, mine is a valid json string, because, if I try <code>$.parseJSON</code> on that, it gives me back array of javascript objects.</p>
  
  <p>Please help!</p>