XmlNodeConverter Properties |
The XmlNodeConverter type exposes the following members.
Name | Description | |
---|---|---|
CanRead |
Gets a value indicating whether this JsonConverter can read JSON.
(Inherited from JsonConverter.) | |
CanWrite |
Gets a value indicating whether this JsonConverter can write JSON.
(Inherited from JsonConverter.) | |
DeserializeRootElementName |
Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produced multiple root elements.
| |
EncodeSpecialCharacters |
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.
| |
OmitRootObject |
Gets or sets a value indicating whether to write the root JSON object.
| |
WriteArrayAttribute |
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.
|