protected List<Entity> parseIntoList(CommitRequest commitRequest, JSONArray nodeList)
throws JSONException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, IntrospectionException, ParseException {
List<Entity> result = new ArrayList<>(nodeList.length());
for (int j = 0; j < nodeList.length(); j++) {
JSONObject jsonObject = nodeList.getJSONObject(j);
InstanceRef ref = commitRequest.parseInstanceRefAndRegister(jsonObject.getString("id"));
MetaClass metaClass = ref.getMetaClass();
Entity instance = ref.getInstance();
asJavaTree(commitRequest, instance, metaClass, jsonObject);
result.add(instance);
}
return result;
}