WCF-Xtensions Class Reference for Mono
TypeNameHandling Enumeration






Specifies type name handling options for the JsonSerializer.
Syntax
'Declaration
 
<System.FlagsAttribute()>
Public Enum TypeNameHandling 
   Inherits System.Enum
'Usage
 
Dim instance As TypeNameHandling
[System.Flags()]
public enum TypeNameHandling : System.Enum 
public enum TypeNameHandling = class(System.Enum)
System.FlagsAttribute()
public enum TypeNameHandling extends System.Enum
[System.Flags()]
__value public enum TypeNameHandling : public System.Enum 
[System.Flags()]
public enum class TypeNameHandling : public System.Enum 
Members
MemberDescription
All Always include the .NET type name when serializing.
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.
None Do not include the .NET type name when serializing types.
Objects Include the .NET type name when serializing into a JSON object structure.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Noemax.Newtonsoft.Json.TypeNameHandling

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Noemax.Newtonsoft.Json Namespace

Send Feedback