C# Class Newtonsoft.Json.Serialization.JsonSerializerInternalWriter

Inheritance: JsonSerializerInternalBase
Mostrar archivo Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Public Methods

Method Description
JsonSerializerInternalWriter ( JsonSerializer serializer ) : System
Serialize ( JsonWriter jsonWriter, object value, Type objectType ) : void

Private Methods

Method Description
CalculatePropertyValues ( JsonWriter writer, object value, Newtonsoft.Json.Serialization.JsonContainerContract contract, JsonProperty member, JsonProperty property, JsonContract &memberContract, object &memberValue ) : bool
CheckForCircularReference ( JsonWriter writer, object value, JsonProperty property, JsonContract contract, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, JsonProperty containerProperty ) : bool
GetContractSafe ( object value ) : JsonContract
GetInternalSerializer ( ) : JsonSerializerProxy
GetPropertyName ( JsonWriter writer, object name, JsonContract contract, bool &escape ) : string
GetReference ( JsonWriter writer, object value ) : string
HandleError ( JsonWriter writer, int initialDepth ) : void
HasCreatorParameter ( Newtonsoft.Json.Serialization.JsonContainerContract contract, JsonProperty property ) : bool
HasFlag ( DefaultValueHandling value, DefaultValueHandling flag ) : bool
HasFlag ( PreserveReferencesHandling value, PreserveReferencesHandling flag ) : bool
HasFlag ( TypeNameHandling value, TypeNameHandling flag ) : bool
IsSpecified ( JsonWriter writer, JsonProperty property, object target ) : bool
OnSerialized ( JsonWriter writer, JsonContract contract, object value ) : void
OnSerializing ( JsonWriter writer, JsonContract contract, object value ) : void
ResolveIsReference ( JsonContract contract, JsonProperty property, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : bool?
SerializeConvertable ( JsonWriter writer, JsonConverter converter, object value, JsonContract contract, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : void
SerializeDictionary ( JsonWriter writer, IDictionary values, JsonDictionaryContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : void
SerializeDynamic ( JsonWriter writer, IDynamicMetaObjectProvider value, JsonDynamicContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : void
SerializeISerializable ( JsonWriter writer, ISerializable value, JsonISerializableContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : void
SerializeList ( JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : void
SerializeMultidimensionalArray ( JsonWriter writer, Array values, JsonArrayContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : void
SerializeMultidimensionalArray ( JsonWriter writer, Array values, JsonArrayContract contract, JsonProperty member, int initialDepth, int indices ) : void
SerializeObject ( JsonWriter writer, object value, JsonObjectContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : void
SerializePrimitive ( JsonWriter writer, object value, Newtonsoft.Json.Serialization.JsonPrimitiveContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, JsonProperty containerProperty ) : void
SerializeString ( JsonWriter writer, object value, JsonStringContract contract ) : void
SerializeValue ( JsonWriter writer, object value, JsonContract valueContract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, JsonProperty containerProperty ) : void
ShouldSerialize ( JsonWriter writer, JsonProperty property, object target ) : bool
ShouldWriteDynamicProperty ( object memberValue ) : bool
ShouldWriteProperty ( object memberValue, JsonProperty property ) : bool
ShouldWriteReference ( object value, JsonProperty property, JsonContract valueContract, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : bool
ShouldWriteType ( TypeNameHandling typeNameHandlingFlag, JsonContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, JsonProperty containerProperty ) : bool
TryConvertToString ( object value, Type type, string &s ) : bool
WriteObjectStart ( JsonWriter writer, object value, JsonContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, JsonProperty containerProperty ) : void
WriteReference ( JsonWriter writer, object value ) : void
WriteReferenceIdProperty ( JsonWriter writer, Type type, object value ) : void
WriteStartArray ( JsonWriter writer, object values, JsonArrayContract contract, JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, JsonProperty containerProperty ) : bool
WriteTypeProperty ( JsonWriter writer, Type type ) : void

Method Details

JsonSerializerInternalWriter() public method

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

Serialize() public method

public Serialize ( JsonWriter jsonWriter, object value, Type objectType ) : void
jsonWriter JsonWriter
value object
objectType System.Type
return void