nuaable
This commit is contained in:
parent
d1542d5770
commit
97ca122560
@ -75,7 +75,7 @@ namespace Swan.Formatters {
|
||||
private Object GetSourcePropertyValue(IDictionary<String, Object> sourceProperties, MemberInfo targetProperty) {
|
||||
String targetPropertyName = MemberInfoNameCache.GetOrAdd(targetProperty, x => AttributeCache.DefaultCache.Value.RetrieveOne<JsonPropertyAttribute>(x)?.PropertyName ?? x.Name.GetNameWithCase(this._jsonSerializerCase));
|
||||
|
||||
return sourceProperties.GetValueOrDefault(targetPropertyName);
|
||||
return sourceProperties!.GetValueOrDefault(targetPropertyName)!;
|
||||
}
|
||||
|
||||
private Boolean TrySetInstance(Object? targetInstance, Object source, ref Object? target) {
|
||||
|
Loading…
Reference in New Issue
Block a user