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