-Documentation
This commit is contained in:
@@ -61,6 +61,9 @@ namespace Newtonsoft.Json
|
|||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Include the .NET type name when the type of the object being serialized is not the same as its declared type.
|
/// Include the .NET type name when the type of the object being serialized is not the same as its declared type.
|
||||||
|
/// Note that this doesn't include the root serialized object by default. To include the root object's type name in JSON
|
||||||
|
/// you must specify a root type object with <see cref="Newtonsoft.Json.JsonConvert.SerializeObject(object, Type, Newtonsoft.Json.JsonSerializerSettings)"/>
|
||||||
|
/// or <see cref="Newtonsoft.Json.JsonSerializer.Serialize(Newtonsoft.Json.JsonWriter, object, Type)" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Auto = 4
|
Auto = 4
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user