Json.NET - Quick Starts & API Documentation
DefaultContractResolver Class
Namespaces ► Newtonsoft.Json.Serialization ► DefaultContractResolver
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class DefaultContractResolver : IContractResolver
Public Class DefaultContractResolver _ Implements IContractResolver
public ref class DefaultContractResolver : IContractResolver
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
DefaultContractResolver()()()() |
Initializes a new instance of the DefaultContractResolver class.
|
|
DefaultContractResolver(Boolean) |
Initializes a new instance of the DefaultContractResolver class.
|
|
CreateArrayContract(Type) |
Creates a JsonArrayContract for the given type.
|
|
CreateConstructorParameters(ConstructorInfo, JsonPropertyCollection) |
Creates the constructor parameters.
|
|
CreateContract(Type) |
Determines which contract type is created for the given type.
|
|
CreateDictionaryContract(Type) |
Creates a JsonDictionaryContract for the given type.
|
|
CreateDynamicContract(Type) |
Creates a JsonDynamicContract for the given type.
|
|
CreateISerializableContract(Type) |
Creates a JsonISerializableContract for the given type.
|
|
CreateLinqContract(Type) |
Creates a JsonLinqContract for the given type.
|
|
CreateMemberValueProvider(MemberInfo) |
Creates the IValueProvider used by the serializer to get and set values from a member.
|
|
CreateObjectContract(Type) |
Creates a JsonObjectContract for the given type.
|
|
CreatePrimitiveContract(Type) |
Creates a JsonPrimitiveContract for the given type.
|
|
CreateProperties(Type, MemberSerialization) |
Creates properties for the given JsonContract.
|
|
CreateProperty(MemberInfo, MemberSerialization) |
Creates a JsonProperty for the given MemberInfo.
|
|
CreatePropertyFromConstructorParameter(JsonProperty, ParameterInfo) |
Creates a JsonProperty for the given ParameterInfo.
|
|
CreateStringContract(Type) |
Creates a JsonStringContract for the given type.
|
|
DefaultMembersSearchFlags |
Gets or sets the default members search flags.
|
|
DynamicCodeGeneration |
Gets a value indicating whether members are being get and set using dynamic code generation.
This value is determined by the runtime permissions available.
|
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetResolvedPropertyName(String) |
Gets the resolved name of the property.
|
|
GetSerializableMembers(Type) |
Gets the serializable members for the type.
|
|
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
IgnoreSerializableAttribute |
Gets or sets a value indicating whether to ignore the SerializableAttribute attribute when serializing and deserializing types.
|
|
IgnoreSerializableInterface |
Gets or sets a value indicating whether to ignore the ISerializable interface when serializing and deserializing types.
|
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ResolveContract(Type) |
Resolves the contract for a given type.
|
|
ResolveContractConverter(Type) |
Resolves the default JsonConverter for the contract.
|
|
ResolvePropertyName(String) |
Resolves the name of the property.
|
|
SerializeCompilerGeneratedMembers |
Gets or sets a value indicating whether compiler generated members should be serialized.
|
|
ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | ||
DefaultContractResolver | ||
CamelCasePropertyNamesContractResolver |