Populate .data() with $.getJSON()
<p>I am trying to populate <code>$('div').data()</code> through JSON. It works fine with <code>JQuery.parseJSON</code> but not with <code>$.getJSON</code>.</p>

<pre><code>// works as expected
$('div').data('dat', { xmin: '-10', xmax: 40 });
$('div').data('dat', jQuery.parseJSON('{"bbx" : {"xmin" : "-10", "xmax" : "40"}}'));

// doesnt work
$('div').data('dat', $.getJSON("init.php", function(json) {return(json);}));
</code></pre>
