![]() | JsonContract Class |
Namespace: Newtonsoft.Json.Serialization
public abstract class JsonContract
The JsonContract type exposes the following members.
Name | 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 the default creator is non-public.
|
![]() | IsReference |
Gets or sets whether this type contract is serialized as a reference.
|
![]() | OnDeserializedCallbacks |
Gets or sets all methods called immediately after deserialization of the object.
|
![]() | OnDeserializingCallbacks |
Gets or sets all methods called during deserialization of the object.
|
![]() | OnErrorCallbacks |
Gets or sets all method called when an error is thrown during the serialization of the object.
|
![]() | OnSerializedCallbacks |
Gets or sets all methods called after serialization of the object graph.
|
![]() | OnSerializingCallbacks |
Gets or sets all methods called before serialization of the object.
|
![]() | UnderlyingType |
Gets the underlying type for the contract.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (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.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |