Json.NET - Quick Starts & API Documentation
CreateISerializableContract Method (objectType)
Namespaces ► Newtonsoft.Json.Serialization ► DefaultContractResolver ► CreateISerializableContract(Type)
Creates a JsonISerializableContract for the given type.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual JsonISerializableContract CreateISerializableContract( Type objectType )
Protected Overridable Function CreateISerializableContract ( _ objectType As Type _ ) As JsonISerializableContract
protected: virtual JsonISerializableContract^ CreateISerializableContract( Type^ objectType )
Parameters
- objectType (Type)
- Type of the object.
Return Value
A JsonISerializableContract for the given type.