DefaultContractResolver Methods |
The DefaultContractResolver type exposes the following members.
Name | Description | |
---|---|---|
CreateArrayContract |
Creates a JsonArrayContract for the given type.
| |
CreateConstructorParameters |
Creates the constructor parameters.
| |
CreateContract |
Determines which contract type is created for the given type.
| |
CreateDictionaryContract |
Creates a JsonDictionaryContract for the given type.
| |
CreateDynamicContract |
Creates a JsonDynamicContract for the given type.
| |
CreateISerializableContract |
Creates a JsonISerializableContract for the given type.
| |
CreateLinqContract |
Creates a JsonLinqContract for the given type.
| |
CreateMemberValueProvider |
Creates the IValueProvider used by the serializer to get and set values from a member.
| |
CreateObjectContract |
Creates a JsonObjectContract for the given type.
| |
CreatePrimitiveContract |
Creates a JsonPrimitiveContract for the given type.
| |
CreateProperties |
Creates properties for the given JsonContract.
| |
CreateProperty |
Creates a JsonProperty for the given MemberInfo.
| |
CreatePropertyFromConstructorParameter |
Creates a JsonProperty for the given ParameterInfo.
| |
CreateStringContract |
Creates a JsonStringContract for the given type.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetResolvedPropertyName |
Gets the resolved name of the property.
| |
GetSerializableMembers |
Gets the serializable members for the type.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResolveContract |
Resolves the contract for a given type.
| |
ResolveContractConverter |
Resolves the default JsonConverter for the contract.
| |
ResolveDictionaryKey |
Resolves the key of the dictionary. By default ResolvePropertyName(String) is used to resolve dictionary keys.
| |
ResolveExtensionDataName |
Resolves the name of the extension data. By default no changes are made to extension data names.
| |
ResolvePropertyName |
Resolves the name of the property.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |