Json.NET - Quick Starts & API Documentation
ResolveContract Method (type)
Namespaces ► Newtonsoft.Json.Serialization ► IContractResolver ► ResolveContract(Type)
Resolves the contract for a given type.
Declaration Syntax
C# | Visual Basic | Visual C++ |
JsonContract ResolveContract( Type type )
Function ResolveContract ( _ type As Type _ ) As JsonContract
JsonContract^ ResolveContract( Type^ type )
Parameters
- type (Type)
- The type to resolve a contract for.
Return Value
The contract for a given type.