@Override
public void put(int index, Scriptable start, Object value) {
if (!json.isArray())
throw new RuntimeException("Not a ChangeAwareJsonArray.");
ChangeAwareJsonArray arr = json.asArray();
if (index != arr.size() + 1)
throw new RuntimeException("ChangeAwareJsonArray does not allow put at random index");
arr.add(fromNative(value, scope));
}
@Override
public void delete(String name) {
if (!json.isObject())