Enum TypeNameHandling
- Namespace
- Newtonsoft.Json
- Assembly
- Newtonsoft.Json.dll
Specifies type name handling options for the JsonSerializer.
[Flags]
public enum TypeNameHandling
Fields
All = Objects | ArraysAlways include the .NET type name when serializing.
Arrays = 2Include the .NET type name when serializing into a JSON array structure.
Auto = 4Include the .NET type name when the type of the object being serialized is not the same as its declared type.
None = 0Do not include the .NET type name when serializing types.
Objects = 1Include the .NET type name when serializing into a JSON object structure.