C# 클래스 System.Runtime.Serialization.Json.DataContractJsonSerializer

상속: XmlObjectSerializer
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CharacterNeedsEscaping bool
CheckIfJsonNameRequiresMapping bool
CheckIfJsonNameRequiresMapping bool
CheckIfTypeIsReference void
ConvertXmlNameToJsonName System.Xml.XmlDictionaryString
ConvertXmlNameToJsonName string
GetDataContract DataContract
GetKnownTypesFromContext List
InvokeOnDeserialized void
InvokeOnDeserializing void
InvokeOnSerialized void
InvokeOnSerializing void
ReadJsonValue object
WriteJsonValue void

공개 메소드들

메소드 설명
DataContractJsonSerializer ( System type )
DataContractJsonSerializer ( System type, System settings )
DataContractJsonSerializer ( System type, System rootName, System knownTypes )
DataContractJsonSerializer ( System type, System knownTypes )
DataContractJsonSerializer ( System type, string rootName )
DataContractJsonSerializer ( System type, string rootName, System knownTypes )
DataContractJsonSerializer ( Type type ) : System.Runtime.Serialization
DataContractJsonSerializer ( Type type, DataContractJsonSerializerSettings settings ) : System.Runtime.Serialization
DataContractJsonSerializer ( Type type, IEnumerable knownTypes ) : System.Runtime.Serialization
DataContractJsonSerializer ( Type type, XmlDictionaryString rootName ) : System.Runtime.Serialization
DataContractJsonSerializer ( Type type, XmlDictionaryString rootName, IEnumerable knownTypes ) : System.Runtime.Serialization
DataContractJsonSerializer ( Type type, string rootName ) : System.Runtime.Serialization
DataContractJsonSerializer ( Type type, string rootName, IEnumerable knownTypes ) : System.Runtime.Serialization
IsStartObject ( System reader ) : bool
IsStartObject ( XmlDictionaryReader reader ) : bool
IsStartObject ( XmlReader reader ) : bool
ReadObject ( Stream stream ) : object
ReadObject ( System stream ) : object
ReadObject ( System reader, bool verifyObjectName ) : object
ReadObject ( XmlDictionaryReader reader ) : object
ReadObject ( XmlDictionaryReader reader, bool verifyObjectName ) : object
ReadObject ( XmlReader reader ) : object
ReadObject ( XmlReader reader, bool verifyObjectName ) : object
WriteEndObject ( System writer ) : void
WriteEndObject ( XmlDictionaryWriter writer ) : void
WriteEndObject ( XmlWriter writer ) : void
WriteObject ( Stream stream, object graph ) : void
WriteObject ( System stream, object graph ) : void
WriteObject ( XmlDictionaryWriter writer, object graph ) : void
WriteObject ( XmlWriter writer, object graph ) : void
WriteObjectContent ( System writer, object graph ) : void
WriteObjectContent ( XmlDictionaryWriter writer, object graph ) : void
WriteObjectContent ( XmlWriter writer, object graph ) : void
WriteStartObject ( System writer, object graph ) : void
WriteStartObject ( XmlDictionaryWriter writer, object graph ) : void
WriteStartObject ( XmlWriter writer, object graph ) : void

비공개 메소드들

메소드 설명
CharacterNeedsEscaping ( char ch ) : bool
CheckIfJsonNameRequiresMapping ( XmlDictionaryString jsonName ) : bool
CheckIfJsonNameRequiresMapping ( string jsonName ) : bool
CheckIfTypeIsReference ( DataContract dataContract ) : void
ConvertXmlNameToJsonName ( XmlDictionaryString xmlName ) : XmlDictionaryString
ConvertXmlNameToJsonName ( string xmlName ) : string
GetDataContract ( DataContract declaredTypeContract, Type declaredType, Type objectType ) : DataContract
GetKnownTypesFromContext ( XmlObjectSerializerContext context, IList serializerKnownTypeList ) : List
InvokeOnDeserialized ( object value, DataContract contract, System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson context ) : void
InvokeOnDeserializing ( Object value, DataContract contract, System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson context ) : void
InvokeOnSerialized ( Object value, DataContract contract, System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context ) : void
InvokeOnSerializing ( Object value, DataContract contract, System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context ) : void
ReadJsonValue ( DataContract contract, XmlReaderDelegator reader, System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson context ) : object
WriteJsonValue ( JsonDataContract contract, XmlWriterDelegator writer, object graph, System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle ) : void

메소드 상세

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( System type )
type System

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( System type, System settings )
type System
settings System

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( System type, System rootName, System knownTypes )
type System
rootName System
knownTypes System

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( System type, System knownTypes )
type System
knownTypes System

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( System type, string rootName )
type System
rootName string

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( System type, string rootName, System knownTypes )
type System
rootName string
knownTypes System

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( Type type ) : System.Runtime.Serialization
type System.Type
리턴 System.Runtime.Serialization

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( Type type, DataContractJsonSerializerSettings settings ) : System.Runtime.Serialization
type System.Type
settings DataContractJsonSerializerSettings
리턴 System.Runtime.Serialization

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( Type type, IEnumerable knownTypes ) : System.Runtime.Serialization
type System.Type
knownTypes IEnumerable
리턴 System.Runtime.Serialization

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( Type type, XmlDictionaryString rootName ) : System.Runtime.Serialization
type System.Type
rootName System.Xml.XmlDictionaryString
리턴 System.Runtime.Serialization

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( Type type, XmlDictionaryString rootName, IEnumerable knownTypes ) : System.Runtime.Serialization
type System.Type
rootName System.Xml.XmlDictionaryString
knownTypes IEnumerable
리턴 System.Runtime.Serialization

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( Type type, string rootName ) : System.Runtime.Serialization
type System.Type
rootName string
리턴 System.Runtime.Serialization

DataContractJsonSerializer() 공개 메소드

public DataContractJsonSerializer ( Type type, string rootName, IEnumerable knownTypes ) : System.Runtime.Serialization
type System.Type
rootName string
knownTypes IEnumerable
리턴 System.Runtime.Serialization

IsStartObject() 공개 메소드

public IsStartObject ( System reader ) : bool
reader System
리턴 bool

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 ( System stream ) : object
stream System
리턴 object

ReadObject() 공개 메소드

public ReadObject ( System reader, bool verifyObjectName ) : object
reader System
verifyObjectName bool
리턴 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 ( System writer ) : void
writer System
리턴 void

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 ( System stream, object graph ) : void
stream System
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 ( System writer, object graph ) : void
writer System
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 ( System writer, object graph ) : void
writer System
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