-Added DateTimeKindHandling to BsonWriter to control how a DateTime is converted prior to being serialized
-Added Required.Always attribute validation when writing JSON as well reading -Added TypeNameHandling.Auto to automatically write the type name when a value doesn't match the declared type -Fixed reading multi-byte strings in BSON
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Newtonsoft.Json.Tests.TestObjects
|
||||
public ContentBaseClass TestMember { get; set; }
|
||||
|
||||
[Newtonsoft.Json.JsonProperty(TypeNameHandling = Newtonsoft.Json.TypeNameHandling.All)]
|
||||
public Dictionary<int, List<ContentBaseClass>> AnotherTestMember { get; set; }
|
||||
public Dictionary<int, IList<ContentBaseClass>> AnotherTestMember { get; set; }
|
||||
|
||||
public ContentBaseClass AThirdTestMember { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user