DataContractJsonSerializer.WriteStartObject Method

 

Writes the opening XML element for serializing an object to XML that can be mapped to JavaScript Object Notation (JSON).

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

NameDescription
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).)

Note that this method is intended for advanced scenarios when working with XML mapped from JSON.

Return to top
Show: