Click or drag to resize
Json.NET

XmlNodeConverter Properties

 

The XmlNodeConverter type exposes the following members.

Properties
  NameDescription
Public propertyCanRead
Gets a value indicating whether this JsonConverter can read JSON.
(Inherited from JsonConverter.)
Public propertyCanWrite
Gets a value indicating whether this JsonConverter can write JSON.
(Inherited from JsonConverter.)
Public propertyDeserializeRootElementName
Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
Public propertyEncodeSpecialCharacters
Gets or sets a value indicating whether to encode special characters when converting JSON to XML. If true, special characters like ':', '@', '?', '#' and '$' in JSON property names aren't used to specify XML namespaces, attributes or processing directives. Instead special characters are encoded and written as part of the XML element name.
Public propertyOmitRootObject
Gets or sets a value indicating whether to write the root JSON object.
Public propertyWriteArrayAttribute
Gets or sets a value to indicate whether to write the Json.NET array attribute. This attribute helps preserve arrays when converting the written XML back to JSON.
Top
See Also