-Fixed deserializing a duplicate dictionary key from a parameterized constructor
This commit is contained in:
@@ -2046,7 +2046,7 @@ namespace Newtonsoft.Json.Serialization
|
||||
while (e.MoveNext())
|
||||
{
|
||||
DictionaryEntry entry = e.Entry;
|
||||
targetDictionary.Add(entry.Key, entry.Value);
|
||||
targetDictionary[entry.Key] = entry.Value;
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user