This documentation is archived and is not being maintained.

DataContractJsonSerializer.WriteEndObject Method

Writes the closing XML element to an XML document 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 WriteEndObject(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).)
Public method WriteEndObject(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).)
Top

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

Show: