-Rename SpecialPropertyHandling to MetadataPropertyHandling
This commit is contained in:
@@ -298,7 +298,7 @@ namespace Newtonsoft.Json.Tests.Serialization
|
||||
new JsonSerializerSettings
|
||||
{
|
||||
PreserveReferencesHandling = PreserveReferencesHandling.All,
|
||||
SpecialPropertyHandling = SpecialPropertyHandling.Default
|
||||
MetadataPropertyHandling = MetadataPropertyHandling.Default
|
||||
});
|
||||
});
|
||||
}
|
||||
@@ -1069,7 +1069,7 @@ namespace Newtonsoft.Json.Tests.Serialization
|
||||
"Error reading object reference '1'. Path 'Data.Prop2.MyProperty', line 9, position 20.",
|
||||
() => JsonConvert.DeserializeObject<PropertyItemIsReferenceObject>(json, new JsonSerializerSettings
|
||||
{
|
||||
SpecialPropertyHandling = SpecialPropertyHandling.Default
|
||||
MetadataPropertyHandling = MetadataPropertyHandling.Default
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user