C# Class Newtonsoft.Json.Serialization.JsonSerializerInternalReader

Inheritance: JsonSerializerInternalBase
Exibir arquivo Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Public Methods

Method Description
CreateNewObject ( JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, string id, bool &createdFromNonDefaultCreator ) : object
Deserialize ( JsonReader reader, Type objectType, bool checkAdditionalContent ) : object
JsonSerializerInternalReader ( JsonSerializer serializer ) : System
Populate ( JsonReader reader, object target ) : void

Private Methods

Method Description
AddReference ( JsonReader reader, string id, object value ) : void
CalculatePropertyDetails ( JsonProperty property, JsonConverter &propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, object target, bool &useExistingValue, object &currentValue, JsonContract &propertyContract, bool &gottenCurrentValue ) : bool
CheckPropertyName ( JsonReader reader, string memberName ) : bool
CoerceEmptyStringToNull ( Type objectType, JsonContract contract, string s ) : bool
CreateDynamic ( JsonReader reader, JsonDynamicContract contract, JsonProperty member, string id ) : object
CreateISerializable ( JsonReader reader, JsonISerializableContract contract, JsonProperty member, string id ) : object
CreateISerializableItem ( JToken token, Type type, JsonISerializableContract contract, JsonProperty member ) : object
CreateJObject ( JsonReader reader ) : JToken
CreateJToken ( JsonReader reader, JsonContract contract ) : JToken
CreateList ( JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, object existingValue, string id ) : object
CreateNewDictionary ( JsonReader reader, JsonDictionaryContract contract, bool &createdFromNonDefaultCreator ) : IDictionary
CreateNewList ( JsonReader reader, JsonArrayContract contract, bool &createdFromNonDefaultCreator ) : IList
CreateObject ( JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, object existingValue ) : object
CreateObjectUsingCreatorWithParameters ( JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor creator, string id ) : object
CreateValueInternal ( JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, object existingValue ) : object
DeserializeConvertable ( JsonConverter converter, JsonReader reader, Type objectType, object existingValue ) : object
EndProcessProperty ( object newObject, JsonReader reader, JsonObjectContract contract, int initialDepth, JsonProperty property, PropertyPresence presence, bool setDefaultValue ) : void
EnsureArrayContract ( JsonReader reader, Type objectType, JsonContract contract ) : JsonArrayContract
EnsureType ( JsonReader reader, object value, CultureInfo culture, JsonContract contract, Type targetType ) : object
GetContractSafe ( Type type ) : JsonContract
GetConverter ( JsonContract contract, JsonConverter memberConverter, JsonContainerContract containerContract, JsonProperty containerProperty ) : JsonConverter
GetExpectedDescription ( JsonContract contract ) : string
GetInternalSerializer ( ) : JsonSerializerProxy
HandleError ( JsonReader reader, bool readPastError, int initialDepth ) : void
HasFlag ( DefaultValueHandling value, DefaultValueHandling flag ) : bool
HasNoDefinedType ( JsonContract contract ) : bool
OnDeserialized ( JsonReader reader, JsonContract contract, object value ) : void
OnDeserializing ( JsonReader reader, JsonContract contract, object value ) : void
PopulateDictionary ( IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, string id ) : object
PopulateList ( IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, string id ) : object
PopulateMultidimensionalArray ( IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, string id ) : object
PopulateObject ( object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, string id ) : object
ReadExtensionDataValue ( JsonObjectContract contract, JsonProperty member, JsonReader reader ) : object
ReadForType ( JsonReader reader, JsonContract contract, bool hasConverter ) : bool
ReadMetadataProperties ( JsonReader reader, Type &objectType, JsonContract &contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, object existingValue, object &newValue, string &id ) : bool
ReadMetadataPropertiesToken ( JTokenReader reader, Type &objectType, JsonContract &contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, object existingValue, object &newValue, string &id ) : bool
ResolvePropertyAndCreatorValues ( JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType ) : List
ResolveTypeName ( JsonReader reader, Type &objectType, JsonContract &contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, string qualifiedTypeName ) : void
SetExtensionData ( JsonObjectContract contract, JsonProperty member, JsonReader reader, string memberName, object o ) : void
SetPropertyPresence ( JsonReader reader, JsonProperty property, PropertyPresence>.Dictionary requiredProperties ) : void
SetPropertyValue ( JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, object target ) : bool
ShouldDeserialize ( JsonReader reader, JsonProperty property, object target ) : bool
ShouldSetPropertyValue ( JsonProperty property, object value ) : bool
ThrowUnexpectedEndException ( JsonReader reader, JsonContract contract, object currentObject, string message ) : void

Method Details

CreateNewObject() public method

public CreateNewObject ( JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, string id, bool &createdFromNonDefaultCreator ) : object
reader JsonReader
objectContract JsonObjectContract
containerMember JsonProperty
containerProperty JsonProperty
id string
createdFromNonDefaultCreator bool
return object

Deserialize() public method

public Deserialize ( JsonReader reader, Type objectType, bool checkAdditionalContent ) : object
reader JsonReader
objectType Type
checkAdditionalContent bool
return object

JsonSerializerInternalReader() public method

public JsonSerializerInternalReader ( JsonSerializer serializer ) : System
serializer JsonSerializer
return System

Populate() public method

public Populate ( JsonReader reader, object target ) : void
reader JsonReader
target object
return void