-Added support for ShouldSerialize conditional methods
-Fixed not correctly skipping ignored JSON properties when deserializing via a non-default constructor
This commit is contained in:
@@ -753,9 +753,9 @@ namespace Newtonsoft.Json.Serialization
|
||||
if (property != null)
|
||||
{
|
||||
if (!property.Ignored)
|
||||
{
|
||||
propertyValues[property] = CreateValueProperty(reader, property, null, true, null);
|
||||
}
|
||||
else
|
||||
reader.Skip();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user