-Added support for serializing extension data
-Added support for reference loop handling and type name handling to extension data -Bug fixes
This commit is contained in:
@@ -8,5 +8,13 @@ namespace Newtonsoft.Json
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)]
|
||||
public class JsonExtensionDataAttribute : Attribute
|
||||
{
|
||||
public bool WriteData { get; set; }
|
||||
public bool ReadData { get; set; }
|
||||
|
||||
public JsonExtensionDataAttribute()
|
||||
{
|
||||
WriteData = true;
|
||||
ReadData = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user