This documentation is archived and is not being maintained.

DataContractJsonSerializer.WriteStartObject Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method WriteStartObject(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).)
Public method WriteStartObject(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).)
Top

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

Show: