C# Класс System.Runtime.Serialization.Json.DataContractJsonSerializerImpl

Наследование: System.Runtime.Serialization.XmlObjectSerializer
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddCollectionItemTypeToKnownTypes void
CheckIfJsonNameRequiresMapping bool
CheckIfJsonNameRequiresMapping bool
CheckIfTypeIsReference void
CheckIfXmlNameRequiresMapping bool
CheckIfXmlNameRequiresMapping bool
ConvertXmlNameToJsonName System.Xml.XmlDictionaryString
ConvertXmlNameToJsonName string
DataContractJsonSerializerImpl System.Runtime.Serialization
GetDataContract System.Runtime.Serialization.DataContract
GetDeserializeType System.Type
GetSerializeType System.Type
Initialize void
Initialize void
InternalIsStartObject bool
InternalReadObject object
InternalWriteEndObject void
InternalWriteObject void
InternalWriteObjectContent void
InternalWriteStartObject void
IsJsonLocalName bool
ReadJsonValue object
WriteJsonNull void
WriteJsonValue void

Открытые методы

Метод Описание
DataContractJsonSerializerImpl ( Type type ) : System.Runtime.Serialization
DataContractJsonSerializerImpl ( Type type, DataContractJsonSerializerSettings settings ) : System.Runtime.Serialization
DataContractJsonSerializerImpl ( Type type, IEnumerable knownTypes ) : System.Runtime.Serialization
DataContractJsonSerializerImpl ( Type type, XmlDictionaryString rootName, IEnumerable knownTypes ) : System.Runtime.Serialization
IsStartObject ( XmlDictionaryReader reader ) : bool
IsStartObject ( XmlReader reader ) : bool
ReadObject ( Stream stream ) : object
ReadObject ( XmlDictionaryReader reader ) : object
ReadObject ( XmlDictionaryReader reader, bool verifyObjectName ) : object
ReadObject ( XmlReader reader ) : object
ReadObject ( XmlReader reader, bool verifyObjectName ) : object
WriteEndObject ( XmlDictionaryWriter writer ) : void
WriteEndObject ( XmlWriter writer ) : void
WriteObject ( Stream stream, object graph ) : void
WriteObject ( XmlDictionaryWriter writer, object graph ) : void
WriteObject ( XmlWriter writer, object graph ) : void
WriteObjectContent ( XmlDictionaryWriter writer, object graph ) : void
WriteObjectContent ( XmlWriter writer, object graph ) : void
WriteStartObject ( XmlDictionaryWriter writer, object graph ) : void
WriteStartObject ( XmlWriter writer, object graph ) : void

Приватные методы

Метод Описание
AddCollectionItemTypeToKnownTypes ( Type knownType ) : void
CheckIfJsonNameRequiresMapping ( XmlDictionaryString jsonName ) : bool
CheckIfJsonNameRequiresMapping ( string jsonName ) : bool
CheckIfTypeIsReference ( System.Runtime.Serialization.DataContract dataContract ) : void
CheckIfXmlNameRequiresMapping ( XmlDictionaryString xmlName ) : bool
CheckIfXmlNameRequiresMapping ( string xmlName ) : bool
ConvertXmlNameToJsonName ( XmlDictionaryString xmlName ) : XmlDictionaryString
ConvertXmlNameToJsonName ( string xmlName ) : string
DataContractJsonSerializerImpl ( Type type, XmlDictionaryString rootName, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool alwaysEmitTypeInformation ) : System.Runtime.Serialization
GetDataContract ( System.Runtime.Serialization.DataContract declaredTypeContract, Type declaredType, Type objectType ) : System.Runtime.Serialization.DataContract
GetDeserializeType ( ) : Type
GetSerializeType ( object graph ) : Type
Initialize ( Type type, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, EmitTypeInformation emitTypeInformation, bool serializeReadOnlyTypes, DateTimeFormat dateTimeFormat, bool useSimpleDictionaryFormat ) : void
Initialize ( Type type, XmlDictionaryString rootName, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, EmitTypeInformation emitTypeInformation, bool serializeReadOnlyTypes, DateTimeFormat dateTimeFormat, bool useSimpleDictionaryFormat ) : void
InternalIsStartObject ( System.Runtime.Serialization.XmlReaderDelegator reader ) : bool
InternalReadObject ( System.Runtime.Serialization.XmlReaderDelegator xmlReader, bool verifyObjectName ) : object
InternalWriteEndObject ( System.Runtime.Serialization.XmlWriterDelegator writer ) : void
InternalWriteObject ( System.Runtime.Serialization.XmlWriterDelegator writer, object graph ) : void
InternalWriteObjectContent ( System.Runtime.Serialization.XmlWriterDelegator writer, object graph ) : void
InternalWriteStartObject ( System.Runtime.Serialization.XmlWriterDelegator writer, object graph ) : void
IsJsonLocalName ( System.Runtime.Serialization.XmlReaderDelegator reader, string elementName ) : bool
ReadJsonValue ( System.Runtime.Serialization.DataContract contract, System.Runtime.Serialization.XmlReaderDelegator reader, System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson context ) : object
WriteJsonNull ( System.Runtime.Serialization.XmlWriterDelegator writer ) : void
WriteJsonValue ( JsonDataContract contract, System.Runtime.Serialization.XmlWriterDelegator writer, object graph, System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle ) : void

Описание методов

DataContractJsonSerializerImpl() публичный Метод

public DataContractJsonSerializerImpl ( Type type ) : System.Runtime.Serialization
type System.Type
Результат System.Runtime.Serialization

DataContractJsonSerializerImpl() публичный Метод

public DataContractJsonSerializerImpl ( Type type, DataContractJsonSerializerSettings settings ) : System.Runtime.Serialization
type System.Type
settings DataContractJsonSerializerSettings
Результат System.Runtime.Serialization

DataContractJsonSerializerImpl() публичный Метод

public DataContractJsonSerializerImpl ( Type type, IEnumerable knownTypes ) : System.Runtime.Serialization
type System.Type
knownTypes IEnumerable
Результат System.Runtime.Serialization

DataContractJsonSerializerImpl() публичный Метод

public DataContractJsonSerializerImpl ( Type type, XmlDictionaryString rootName, IEnumerable knownTypes ) : System.Runtime.Serialization
type System.Type
rootName System.Xml.XmlDictionaryString
knownTypes IEnumerable
Результат System.Runtime.Serialization

IsStartObject() публичный Метод

public IsStartObject ( XmlDictionaryReader reader ) : bool
reader System.Xml.XmlDictionaryReader
Результат bool

IsStartObject() публичный Метод

public IsStartObject ( XmlReader reader ) : bool
reader XmlReader
Результат bool

ReadObject() публичный Метод

public ReadObject ( Stream stream ) : object
stream Stream
Результат object

ReadObject() публичный Метод

public ReadObject ( XmlDictionaryReader reader ) : object
reader System.Xml.XmlDictionaryReader
Результат object

ReadObject() публичный Метод

public ReadObject ( XmlDictionaryReader reader, bool verifyObjectName ) : object
reader System.Xml.XmlDictionaryReader
verifyObjectName bool
Результат object

ReadObject() публичный Метод

public ReadObject ( XmlReader reader ) : object
reader XmlReader
Результат object

ReadObject() публичный Метод

public ReadObject ( XmlReader reader, bool verifyObjectName ) : object
reader XmlReader
verifyObjectName bool
Результат object

WriteEndObject() публичный Метод

public WriteEndObject ( XmlDictionaryWriter writer ) : void
writer System.Xml.XmlDictionaryWriter
Результат void

WriteEndObject() публичный Метод

public WriteEndObject ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
Результат void

WriteObject() публичный Метод

public WriteObject ( Stream stream, object graph ) : void
stream Stream
graph object
Результат void

WriteObject() публичный Метод

public WriteObject ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter
graph object
Результат void

WriteObject() публичный Метод

public WriteObject ( XmlWriter writer, object graph ) : void
writer System.Xml.XmlWriter
graph object
Результат void

WriteObjectContent() публичный Метод

public WriteObjectContent ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter
graph object
Результат void

WriteObjectContent() публичный Метод

public WriteObjectContent ( XmlWriter writer, object graph ) : void
writer System.Xml.XmlWriter
graph object
Результат void

WriteStartObject() публичный Метод

public WriteStartObject ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter
graph object
Результат void

WriteStartObject() публичный Метод

public WriteStartObject ( XmlWriter writer, object graph ) : void
writer System.Xml.XmlWriter
graph object
Результат void