| XmlNodeConverterEncodeSpecialCharacters Property |
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.
Namespace:
Newtonsoft.Json.Converters
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public bool EncodeSpecialCharacters { get; set; }
Property Value
Type:
Booleantrue if special characters are encoded; otherwise,
false.
See Also