terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Newtonsoft.Json.Serialization.DefaultContractResolver Class Reference
+ Inheritance diagram for Newtonsoft.Json.Serialization.DefaultContractResolver:
+ Collaboration diagram for Newtonsoft.Json.Serialization.DefaultContractResolver:

Classes

class  EnumerableDictionaryWrapper
 

Public Member Functions

 DefaultContractResolver ()
 
 DefaultContractResolver (bool shareCache)
 
virtual JsonContract ResolveContract (Type type)
 
string GetResolvedPropertyName (string propertyName)
 

Protected Member Functions

virtual List< MemberInfoGetSerializableMembers (Type objectType)
 
virtual JsonObjectContract CreateObjectContract (Type objectType)
 
virtual IList< JsonPropertyCreateConstructorParameters (ConstructorInfo constructor, JsonPropertyCollection memberProperties)
 
virtual JsonProperty CreatePropertyFromConstructorParameter (JsonProperty matchingMemberProperty, ParameterInfo parameterInfo)
 
virtual JsonConverter ResolveContractConverter (Type objectType)
 
virtual JsonDictionaryContract CreateDictionaryContract (Type objectType)
 
virtual JsonArrayContract CreateArrayContract (Type objectType)
 
virtual JsonPrimitiveContract CreatePrimitiveContract (Type objectType)
 
virtual JsonLinqContract CreateLinqContract (Type objectType)
 
virtual JsonISerializableContract CreateISerializableContract (Type objectType)
 
virtual JsonStringContract CreateStringContract (Type objectType)
 
virtual JsonContract CreateContract (Type objectType)
 
virtual IList< JsonPropertyCreateProperties (Type type, MemberSerialization memberSerialization)
 
virtual IValueProvider CreateMemberValueProvider (MemberInfo member)
 
virtual JsonProperty CreateProperty (MemberInfo member, MemberSerialization memberSerialization)
 
virtual string ResolvePropertyName (string propertyName)
 
virtual string ResolveDictionaryKey (string dictionaryKey)
 

Package Functions

DefaultContractResolverState GetState ()
 

Static Package Functions

static bool IsJsonPrimitiveType (Type t)
 
static bool IsIConvertible (Type t)
 
static bool CanConvertToString (Type type)
 
static string GetClrTypeFullName (Type type)
 

Properties

static IContractResolver Instance [get, set]
 
bool DynamicCodeGeneration [get, set]
 
BindingFlags DefaultMembersSearchFlags [get, set]
 
bool SerializeCompilerGeneratedMembers [get, set]
 
bool IgnoreSerializableInterface [get, set]
 
bool IgnoreSerializableAttribute [get, set]
 

Private Member Functions

bool ShouldSerializeEntityMember (MemberInfo memberInfo)
 
MemberInfo GetExtensionDataMemberForType (Type type)
 
ConstructorInfo GetAttributeConstructor (Type objectType)
 
ConstructorInfo GetParameterizedConstructor (Type objectType)
 
Func< object > GetDefaultCreator (Type createdType)
 
void InitializeContract (JsonContract contract)
 
void ResolveCallbackMethods (JsonContract contract, Type t)
 
void GetCallbackMethodsForType (Type type, out List< SerializationCallback > onSerializing, out List< SerializationCallback > onSerialized, out List< SerializationCallback > onDeserializing, out List< SerializationCallback > onDeserialized, out List< SerializationErrorCallback > onError)
 
List< TypeGetClassHierarchyForType (Type type)
 
void SetPropertySettingsFromAttributes (JsonProperty property, object attributeProvider, string name, Type declaringType, MemberSerialization memberSerialization, out bool allowNonPublicAccess)
 
Predicate< object > CreateShouldSerializeTest (MemberInfo member)
 
void SetIsSpecifiedActions (JsonProperty property, MemberInfo member, bool allowNonPublicAccess)
 

Static Private Member Functions

static void SetExtensionDataDelegates (JsonObjectContract contract, MemberInfo member)
 
static bool ShouldSkipDeserialized (Type t)
 
static bool ShouldSkipSerializing (Type t)
 
static bool IsValidCallback (MethodInfo method, ParameterInfo[] parameters, Type attributeType, MethodInfo currentCallback, ref Type prevAttributeType)
 
static DefaultContractResolver ()
 

Private Attributes

readonly DefaultContractResolverState _instanceState
 
readonly bool _sharedCache
 
BindingFlags< DefaultMembersSearchFlagsk__BackingField
 
bool< SerializeCompilerGeneratedMembersk__BackingField
 
bool< IgnoreSerializableInterfacek__BackingField
 
bool< IgnoreSerializableAttributek__BackingField
 

Static Private Attributes

static readonly IContractResolver _instance
 
static readonly JsonConverter[] BuiltInConverters
 
static readonly object TypeContractCacheLock
 
static readonly DefaultContractResolverState _sharedState
 

Detailed Description

Definition at line 23 of file DefaultContractResolver.cs.


The documentation for this class was generated from the following file: