title: Nested JSON deletion in ShareJS
body: <p>I am currently experimenting with the <a href="http://sharejs.org" rel="nofollow">ShareJS</a> implementation for <a href="http://en.wikipedia.org/wiki/Operational_transformation" rel="nofollow">operational transformation</a> (the JSON API in particular). The wiki was not very clear on what would happen if I deleted a parent JSON object, and another operation came in which was inserting into a child JSON. Will the parent JSON be recreated, or will it be a no-op?</p>
  
  <p>E.g.</p>
  
  <pre><code>{"aa":
    {"bb":
      {"cc":"dd"}
    }
  }
  //Operation A and B comes in carrying the same version number
  //Op A deletes "aa", Op B modifies "cc"
  //What happens? (assuming A comes in slightly earlier and is processed first)
  </code></pre>