Json.NET - Quick Starts & API Documentation
JsonSerializerSettings Class
Namespaces ► Newtonsoft.Json ► JsonSerializerSettings
Specifies the settings on a JsonSerializer object.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class JsonSerializerSettings
Public Class JsonSerializerSettings
public ref class JsonSerializerSettings
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
JsonSerializerSettings()()()() |
Initializes a new instance of the JsonSerializerSettings class.
|
|
Binder |
Gets or sets the SerializationBinder used by the serializer when resolving type names.
|
|
ConstructorHandling |
Gets or sets how constructors are used during deserialization.
|
|
Context |
Gets or sets the StreamingContext used by the serializer when invoking serialization callback methods.
|
|
ContractResolver |
Gets or sets the contract resolver used by the serializer when
serializing .NET objects to JSON and vice versa.
|
|
Converters |
Gets or sets a collection JsonConverter that will be used during serialization.
|
|
DefaultValueHandling |
Gets or sets how null default are handled during serialization and deserialization.
|
|
Equals(Object) | (Inherited from Object.) |
|
Error |
Gets or sets the error handler called during serialization and deserialization.
|
|
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
MissingMemberHandling |
Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization.
|
|
NullValueHandling |
Gets or sets how null values are handled during serialization and deserialization.
|
|
ObjectCreationHandling |
Gets or sets how objects are created during deserialization.
|
|
PreserveReferencesHandling |
Gets or sets how object references are preserved by the serializer.
|
|
ReferenceLoopHandling |
Gets or sets how reference loops (e.g. a class referencing itself) is handled.
|
|
ReferenceResolver |
Gets or sets the IReferenceResolver used by the serializer when resolving references.
|
|
ToString()()()() | (Inherited from Object.) |
|
TypeNameAssemblyFormat |
Gets or sets how a type name assembly is written and resolved by the serializer.
|
|
TypeNameHandling |
Gets or sets how type name writing and reading is handled by the serializer.
|
Inheritance Hierarchy
Object | |
JsonSerializerSettings |