JsonArray value = snapshot.getArray(index);
snapshot.remove(index);
model.addOrRemoveParent(value, id, false);
model.bytesUsed -= (value == null ? "null" : value.toJsonString()).length();
}
ValuesRemovedEvent event =
new ValuesRemovedEventImpl(event(sessionId, userId).set("index", index).set("values", objects));
fireEvent(event);
}