Used by JsonSerializer to resolves a JsonContract for a given Type.
더 자세히 ...
Used by JsonSerializer to resolves a JsonContract for a given Type.
Newtonsoft.Json.Serialization.DefaultContractResolver.DefaultContractResolver |
( |
| ) |
|
|
inline |
Newtonsoft.Json.Serialization.DefaultContractResolver.DefaultContractResolver |
( |
bool |
shareCache | ) |
|
|
inline |
Initializes a new instance of the DefaultContractResolver class.
- 매개변수
-
shareCache | If set to true the DefaultContractResolver will use a cached shared with other resolvers of the same type. Sharing the cache will significantly performance because expensive reflection will only happen once but could cause unexpected behavior if different instances of the resolver are suppose to produce different results. When set to false it is highly recommended to reuse DefaultContractResolver instances with the JsonSerializer. |
virtual JsonArrayContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateArrayContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
virtual JsonContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
Determines which contract type is created for the given type.
- 매개변수
-
objectType | Type of the object. |
- 반환값
- A JsonContract for the given type.
virtual JsonDictionaryContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateDictionaryContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
virtual JsonDynamicContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateDynamicContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
virtual JsonISerializableContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateISerializableContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
virtual JsonLinqContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateLinqContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
virtual IValueProvider Newtonsoft.Json.Serialization.DefaultContractResolver.CreateMemberValueProvider |
( |
MemberInfo |
member | ) |
|
|
inlineprotectedvirtual |
Creates the IValueProvider used by the serializer to get and set values from a member.
- 매개변수
-
- 반환값
- The IValueProvider used by the serializer to get and set values from a member.
virtual JsonObjectContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
virtual JsonPrimitiveContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreatePrimitiveContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
Creates properties for the given JsonContract.
- 매개변수
-
type | The type to create properties for. |
///
- 매개변수
-
memberSerialization | The member serialization mode for the type. |
- 반환값
- Properties for the given JsonContract.
virtual JsonStringContract Newtonsoft.Json.Serialization.DefaultContractResolver.CreateStringContract |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
virtual List<MemberInfo> Newtonsoft.Json.Serialization.DefaultContractResolver.GetSerializableMembers |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
Gets the serializable members for the type.
- 매개변수
-
objectType | The type to get serializable members for. |
- 반환값
- The serializable members for the type.
virtual JsonContract Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract |
( |
Type |
type | ) |
|
|
inlinevirtual |
virtual JsonConverter Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContractConverter |
( |
Type |
objectType | ) |
|
|
inlineprotectedvirtual |
Resolves the default JsonConverter for the contract.
- 매개변수
-
objectType | Type of the object. |
- 반환값
virtual string Newtonsoft.Json.Serialization.DefaultContractResolver.ResolvePropertyName |
( |
string |
propertyName | ) |
|
|
inlineprotectedvirtual |
BindingFlags Newtonsoft.Json.Serialization.DefaultContractResolver.DefaultMembersSearchFlags |
|
getset |
Gets or sets the default members search flags.
The default members search flags.
bool Newtonsoft.Json.Serialization.DefaultContractResolver.DynamicCodeGeneration |
|
get |
Gets a value indicating whether members are being get and set using dynamic code generation. This value is determined by the runtime permissions available.
true
if using dynamic code generation; otherwise, false
.
bool Newtonsoft.Json.Serialization.DefaultContractResolver.SerializeCompilerGeneratedMembers |
|
getset |
Gets or sets a value indicating whether compiler generated members should be serialized.
true
if serialized compiler generated members; otherwise, false
.
이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.:
- bitnet/Newtonsoft.Json/Serialization/DefaultContractResolver.cs