Table of Contents

Enum TypeNameHandling

Namespace
Dynamicweb.Core.Json.Settings
Assembly
Dynamicweb.Core.dll
Specifies type name handling options for the JsonSerializer.
[Flags]
public enum TypeNameHandling

Fields

All = Objects | Arrays
Always include the .NET type name when serializing.
Arrays = 2
Include the .NET type name when serializing into a JSON array structure.
Auto = 4
Include the .NET type name when the type of the object being serialized is not the same as its declared type.
None = 0
Do not include the .NET type name when serializing types.
Objects = 1
Include the .NET type name when serializing into a JSON object structure.
To top