jQuery .data() replace nested objects' properties
<p>I'm using jQuery's <a href="http://api.jquery.com/data/" rel="nofollow"><code>.data()</code> method</a> to store some data using nested objects like this:</p>

<pre><code>$('div.divwithdata').data('somedata', {
    'a': {
        'b': {
            'c' : {}
        }
    }
});
</code></pre>

<p>However my question is: <strong>Is there a way to replace nested object's property without overwriting the whole object ?</strong></p>

<p>I tought it could be done with <code>.data('somedata.a.b', 'newdata')</code> or <code>.data('somedata[a][b]', 'newdata')</code>, but none of them worked.</p>

<p><a href="http://jsfiddle.net/byhas/" rel="nofollow">jsFiddle example</a></p>
