Skip to content

Commit

Permalink
Fix 'deserializeUsing' on generic field not work, issue alibaba#3693
Browse files Browse the repository at this point in the history
  • Loading branch information
timandy committed Mar 29, 2021
1 parent 7b59225 commit 4370bd2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ public void parseField(DefaultJSONParser parser, Object object, Type objectType,
}
if (fieldType != objectType) {
fieldType = FieldInfo.getFieldType(this.clazz, objectType, fieldType);
fieldValueDeserilizer = parser.getConfig().getDeserializer(fieldType);
if (fieldValueDeserilizer == null) {
fieldValueDeserilizer = parser.getConfig().getDeserializer(fieldType);
}
}
}

Expand Down

0 comments on commit 4370bd2

Please sign in to comment.