this.realTargetType = type;
} else {
this.realTargetType = type.getComponentType();
}
JSONObject array = map.getValueFromJSONProp();
if (!(array instanceof JSONArray)) {
throw new JSONException("illegal type for ArrayDecoder. the type can only be JSONArray, but actual is "
+ array.getClass().getName());
}
T target = this.newArraysObject(((JSONArray) array).size());
referenceID = map.getReferenceID();
if (referenceID != null) {
references.put(referenceID, target);