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