val = getObjectFromMap((Map)data, pathList.get(field)); } else if (data instanceof List) { val = getObjectFromArray((List)data, Integer.parseInt(pathList.get(field))); } else { val = ((Record)data).get(pathList.get(field)); .getFieldHelper(retVal, getObjectFromArray((List) data, Integer.parseInt(pathList.get(field))), pathList, ++field);