DataContractJsonSerializer Methods

 

Namespace:   System.Runtime.Serialization.Json
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsStartObject(XmlDictionaryReader)

Gets a value that specifies whether the XmlDictionaryReader is positioned over an XML element that represents an object the serializer can deserialize from.(Overrides XmlObjectSerializer.IsStartObject(XmlDictionaryReader).)

System_CAPS_pubmethodIsStartObject(XmlReader)

Determines whether the XmlReader is positioned on an object that can be deserialized.(Overrides XmlObjectSerializer.IsStartObject(XmlReader).)

System_CAPS_pubmethodReadObject(Stream)

Reads a document stream in the JSON (JavaScript Object Notation) format and returns the deserialized object.(Overrides XmlObjectSerializer.ReadObject(Stream).)

System_CAPS_pubmethodReadObject(XmlDictionaryReader)

Reads the XML document mapped from JSON (JavaScript Object Notation) with an XmlDictionaryReader and returns the deserialized object.(Overrides XmlObjectSerializer.ReadObject(XmlDictionaryReader).)

System_CAPS_pubmethodReadObject(XmlDictionaryReader, Boolean)

Reads the XML document mapped from JSON with an XmlDictionaryReader and returns the deserialized object; it also enables you to specify whether the serializer should verify that it is positioned on an appropriate element before attempting to deserialize.(Overrides XmlObjectSerializer.ReadObject(XmlDictionaryReader, Boolean).)

System_CAPS_pubmethodReadObject(XmlReader)

Reads the XML document mapped from JSON (JavaScript Object Notation) with an XmlReader and returns the deserialized object.(Overrides XmlObjectSerializer.ReadObject(XmlReader).)

System_CAPS_pubmethodReadObject(XmlReader, Boolean)

Reads an XML document mapped from JSON with an XmlReader and returns the deserialized object; it also enables you to specify whether the serializer should verify that it is positioned on an appropriate element before attempting to deserialize.(Overrides XmlObjectSerializer.ReadObject(XmlReader, Boolean).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWriteEndObject(XmlDictionaryWriter)

Writes the closing XML element to an XML document, using an XmlDictionaryWriter, which can be mapped to JavaScript Object Notation (JSON).(Overrides XmlObjectSerializer.WriteEndObject(XmlDictionaryWriter).)

System_CAPS_pubmethodWriteEndObject(XmlWriter)

Writes the closing XML element to an XML document, using an XmlWriter, which can be mapped to JavaScript Object Notation (JSON).(Overrides XmlObjectSerializer.WriteEndObject(XmlWriter).)

System_CAPS_pubmethodWriteObject(Stream, Object)

Serializes a specified object to JavaScript Object Notation (JSON) data and writes the resulting JSON to a stream.(Overrides XmlObjectSerializer.WriteObject(Stream, Object).)

System_CAPS_pubmethodWriteObject(XmlDictionaryWriter, Object)

Serializes an object to XML that may be mapped to JavaScript Object Notation (JSON). Writes all the object data, including the starting XML element, content, and closing element, with an XmlDictionaryWriter.(Overrides XmlObjectSerializer.WriteObject(XmlDictionaryWriter, Object).)

System_CAPS_pubmethodWriteObject(XmlWriter, Object)

Serializes an object to XML that may be mapped to JavaScript Object Notation (JSON). Writes all the object data, including the starting XML element, content, and closing element, with an XmlWriter.(Overrides XmlObjectSerializer.WriteObject(XmlWriter, Object).)

System_CAPS_pubmethodWriteObjectContent(XmlDictionaryWriter, Object)

Writes the XML content that can be mapped to JavaScript Object Notation (JSON) using an XmlDictionaryWriter.(Overrides XmlObjectSerializer.WriteObjectContent(XmlDictionaryWriter, Object).)

System_CAPS_pubmethodWriteObjectContent(XmlWriter, Object)

Writes the XML content that can be mapped to JavaScript Object Notation (JSON) using an XmlWriter.(Overrides XmlObjectSerializer.WriteObjectContent(XmlWriter, Object).)

System_CAPS_pubmethodWriteStartObject(XmlDictionaryWriter, Object)

Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON) using an XmlDictionaryWriter.(Overrides XmlObjectSerializer.WriteStartObject(XmlDictionaryWriter, Object).)

System_CAPS_pubmethodWriteStartObject(XmlWriter, Object)

Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON) using an XmlWriter.(Overrides XmlObjectSerializer.WriteStartObject(XmlWriter, Object).)

Return to top
Show: