Json.NET - Quick Starts & API Documentation
CreateStringContract Method (objectType)
Namespaces ► Newtonsoft.Json.Serialization ► DefaultContractResolver ► CreateStringContract(Type)
Creates a JsonStringContract for the given type.

C# | Visual Basic | Visual C++ |
protected virtual JsonStringContract CreateStringContract( Type objectType )
Protected Overridable Function CreateStringContract ( _ objectType As Type _ ) As JsonStringContract
protected: virtual JsonStringContract^ CreateStringContract( Type^ objectType )

- objectType (Type)
- Type of the object.

A JsonStringContract for the given type.