-Added ISerializationBinder

-Added SerializationBinder properties to JsonSerializer and JsonSerializerSettings
-Changed Binder properties on JsonSerializer and JsonSerializerSettings to obsolete
This commit is contained in:
James Newton-King
2016-09-16 16:10:13 +12:00
parent a0403492ad
commit 4f8a22594f
19 changed files with 358 additions and 39 deletions
@@ -1631,7 +1631,9 @@ namespace Newtonsoft.Json.Tests.Bson
var settings = new JsonSerializerSettings
{
TypeNameHandling = TypeNameHandling.Auto,
#pragma warning disable CS0618 // Type or member is obsolete
Binder = binder
#pragma warning restore CS0618 // Type or member is obsolete
};
Zoo zoo = new Zoo