Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Serialization
DefaultContractResolver Class
DefaultContractResolver Methods
CreateArrayContract Method
CreateConstructorParameters Method
CreateContract Method
CreateDictionaryContract Method
CreateDynamicContract Method
CreateISerializableContract Method
CreateLinqContract Method
CreateMemberValueProvider Method
CreateObjectContract Method
CreatePrimitiveContract Method
CreateProperties Method
CreateProperty Method
CreatePropertyFromConstructorParameter Method
CreateStringContract Method
GetResolvedPropertyName Method
GetSerializableMembers Method
ResolveContract Method
ResolveContractConverter Method
ResolveDictionaryKey Method
ResolveExtensionDataName Method
ResolvePropertyName Method
DefaultContractResolver
ResolveContract Method
Resolves the contract for a given type.
Namespace:
Newtonsoft.Json.Serialization
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
virtual
JsonContract
ResolveContract
(
Type
type
)
Parameters
type
Type:
System
Type
The type to resolve a contract for.
Return Value
Type:
JsonContract
The contract for a given type.
Implements
IContractResolver
ResolveContract(Type)
See Also
Reference
DefaultContractResolver Class
Newtonsoft.Json.Serialization Namespace
Json.NET Home