CreatePrimitiveContract Method (objectType)

Json.NET

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

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