Is there are proper way to $.extend a nested properties in jQuery?
<p>What I have and what I need. It's easy.</p>

<p>The default options (there are nested properties):</p>

<pre><code>{
  sDom: 'frt&lt;"tfoot"lp&gt;',
  bInfo: false,
  sPaginationType: "full_numbers",
  oLanguage: {
    sSearch: "",
    sLengthMenu: "Show _MENU_",
    oPaginate: {
      sFirst:     "|&lt;&lt;",
      sLast:      "&gt;&gt;|",
      sNext:      "&gt;&gt;",
      sPrevious:  "&lt;&lt;"
    }
  }
}
</code></pre>

<p>Actual options:</p>

<pre><code>{
  oLanguage: {
    oPaginate: {
      sNext:      "MODIFIED"
    }
  }
}
</code></pre>

<p>The result of $.extend:</p>

<pre><code>{
  sDom: 'frt&lt;"tfoot"lp&gt;',
  bInfo: false,
  sPaginationType: "full_numbers",
  oLanguage: {
    oPaginate: {
      sNext:      "MODIFIED"
    }
  }
}
</code></pre>

<p>What I need is to properly extend the defaults options with the actual options and get the following result (one property has been modified):</p>

<pre><code>{
  sDom: 'frt&lt;"tfoot"lp&gt;',
  bInfo: false,
  sPaginationType: "full_numbers",
  oLanguage: {
    sSearch: "",
    sLengthMenu: "Show _MENU_",
    oPaginate: {
      sFirst:     "|&lt;&lt;",
      sLast:      "&gt;&gt;|",
      sNext:      "MODIFIED"
      sPrevious:  "&lt;&lt;"
    }
  }
}
</code></pre>

<p>The problem is that $.extend function ignores nested properties and operates only first-level properties. Now I have manually $.extend each of the nested properties, but I guess it is not a solution.</p>
