Click or drag to resize

DefaultContractResolver Methods


The DefaultContractResolver type exposes the following members.

Protected methodCreateArrayContract
Creates a JsonArrayContract for the given type.
Protected methodCreateConstructorParameters
Creates the constructor parameters.
Protected methodCreateContract
Determines which contract type is created for the given type.
Protected methodCreateDictionaryContract
Creates a JsonDictionaryContract for the given type.
Protected methodCreateDynamicContract
Creates a JsonDynamicContract for the given type.
Protected methodCreateISerializableContract
Creates a JsonISerializableContract for the given type.
Protected methodCreateLinqContract
Creates a JsonLinqContract for the given type.
Protected methodCreateMemberValueProvider
Creates the IValueProvider used by the serializer to get and set values from a member.
Protected methodCreateObjectContract
Creates a JsonObjectContract for the given type.
Protected methodCreatePrimitiveContract
Creates a JsonPrimitiveContract for the given type.
Protected methodCreateProperties
Creates properties for the given JsonContract.
Protected methodCreateProperty
Creates a JsonProperty for the given MemberInfo.
Protected methodCreatePropertyFromConstructorParameter
Creates a JsonProperty for the given ParameterInfo.
Protected methodCreateStringContract
Creates a JsonStringContract for the given type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetResolvedPropertyName
Gets the resolved name of the property.
Protected methodGetSerializableMembers
Gets the serializable members for the type.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResolveContract
Resolves the contract for a given type.
Protected methodResolveContractConverter
Resolves the default JsonConverter for the contract.
Protected methodResolveDictionaryKey
Resolves the key of the dictionary. By default ResolvePropertyName(String) is used to resolve dictionary keys.
Protected methodResolveExtensionDataName
Resolves the name of the extension data. By default no changes are made to extension data names.
Protected methodResolvePropertyName
Resolves the name of the property.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also