CreateObjectContract Method (objectType)

Json.NET

Json.NET - Quick Starts & API Documentation CreateObjectContract Method (objectType)
NamespacesNewtonsoft.Json.SerializationDefaultContractResolverCreateObjectContract(Type)
Creates a JsonObjectContract for the given type.
Declaration Syntax
C# Visual Basic Visual C++
protected virtual JsonObjectContract CreateObjectContract(
	Type objectType
)
Protected Overridable Function CreateObjectContract ( _
	objectType As Type _
) As JsonObjectContract
protected:
virtual JsonObjectContract^ CreateObjectContract(
	Type^ objectType
)
Parameters
objectType (Type)
Type of the object.
Return Value
A JsonObjectContract for the given type.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)