JsonContract Class

Json.NET

Json.NET - Quick Starts & API Documentation JsonContract Class
NamespacesNewtonsoft.Json.SerializationJsonContract
Contract details for a Type used by the JsonSerializer.
Declaration Syntax
C# Visual Basic Visual C++
public abstract class JsonContract
Public MustInherit Class JsonContract
public ref class JsonContract abstract
Members
All Members Methods Properties



Icon Member Description
Converter
Gets or sets the default JsonConverter for this contract.

CreatedType
Gets or sets the type created during deserialization.

DefaultCreator
Gets or sets the default creator method used to create the object.

DefaultCreatorNonPublic
Gets or sets a value indicating whether [default creator non public].

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
IsReference
Gets or sets whether this type contract is serialized as a reference.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnDeserialized
Gets or sets the method called immediately after deserialization of the object.

OnDeserializing
Gets or sets the method called during deserialization of the object.

OnError
Gets or sets the method called when an error is thrown during the serialization of the object.

OnSerialized
Gets or sets the method called after serialization of the object graph.

OnSerializing
Gets or sets the method called before serialization of the object.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UnderlyingType
Gets the underlying type for the contract.

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