Json.NET - Quick Starts & API Documentation
JsonObjectContract Class
Namespaces ► Newtonsoft.Json.Serialization ► JsonObjectContract
Contract details for a Type used by the JsonSerializer.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class JsonObjectContract : JsonContainerContract
Public Class JsonObjectContract _ Inherits JsonContainerContract
public ref class JsonObjectContract : public JsonContainerContract
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
JsonObjectContract(Type) |
Initializes a new instance of the JsonObjectContract class.
|
|
ConstructorParameters |
Gets the constructor parameters required for any non-default constructor
|
|
Converter |
Gets or sets the default JsonConverter for this contract.
(Inherited from JsonContract.) |
|
CreatedType |
Gets or sets the type created during deserialization.
(Inherited from JsonContract.) |
|
DefaultCreator |
Gets or sets the default creator method used to create the object.
(Inherited from JsonContract.) |
|
DefaultCreatorNonPublic |
Gets or sets a value indicating whether the default creator is non public.
(Inherited from JsonContract.) |
|
Equals(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.
(Inherited from JsonContract.) |
|
ItemConverter |
Gets or sets the default collection items JsonConverter.
(Inherited from JsonContainerContract.) |
|
ItemIsReference |
Gets or sets a value indicating whether the collection items preserve object references.
(Inherited from JsonContainerContract.) |
|
ItemReferenceLoopHandling |
Gets or sets the collection item reference loop handling.
(Inherited from JsonContainerContract.) |
|
ItemRequired |
Gets or sets a value that indicates whether the object's properties are required.
|
|
ItemTypeNameHandling |
Gets or sets the collection item type name handling.
(Inherited from JsonContainerContract.) |
|
MemberSerialization |
Gets or sets the object member serialization.
|
|
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.
(Inherited from JsonContract.) |
|
OnDeserializing |
Gets or sets the method called during deserialization of the object.
(Inherited from JsonContract.) |
|
OnError |
Gets or sets the method called when an error is thrown during the serialization of the object.
(Inherited from JsonContract.) |
|
OnSerialized |
Gets or sets the method called after serialization of the object graph.
(Inherited from JsonContract.) |
|
OnSerializing |
Gets or sets the method called before serialization of the object.
(Inherited from JsonContract.) |
|
OverrideConstructor |
Gets or sets the override constructor used to create the object.
This is set when a constructor is marked up using the
JsonConstructor attribute.
|
|
ParametrizedConstructor |
Gets or sets the parametrized constructor used to create the object.
|
|
Properties |
Gets the object's properties.
|
|
ToString()()()() | (Inherited from Object.) |
|
UnderlyingType |
Gets the underlying type for the contract.
(Inherited from JsonContract.) |
Inheritance Hierarchy
Object | |||
JsonContract | |||
JsonContainerContract | |||
JsonObjectContract |