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