Click or drag to resize

JsonSerializerSettingsTypeNameHandling Property

Gets or sets how type name writing and reading is handled by the serializer. The default value is None.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
public TypeNameHandling TypeNameHandling { get; set; }

Property Value

Type: TypeNameHandling
The type name handling.
TypeNameHandling should be used with caution when your application deserializes JSON from an external source. Incoming types should be validated with a custom SerializationBinder when deserializing with a value other than None.
See Also