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