TypeNameHandling Enumeration

Json.NET

Json.NET - Quick Starts & API Documentation TypeNameHandling Enumeration
NamespacesNewtonsoft.JsonTypeNameHandling
Specifies type name handling options for the JsonSerializer.
Declaration Syntax
C# Visual Basic Visual C++
[FlagsAttribute]
public enum TypeNameHandling
<FlagsAttribute> _
Public Enumeration TypeNameHandling
[FlagsAttribute]
public enum class TypeNameHandling
Members
Member Description
None Do not include the .NET type name when serializing types.
Objects Include the .NET type name when serializing into a JSON object structure.
Arrays Include the .NET type name when serializing into a JSON array structure.
Auto Include the .NET type name when the type of the object being serialized is not the same as its declared type.
All Always include the .NET type name when serializing.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)