Click or drag to resize

XmlNodeConverterWriteArrayAttribute Property

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.

Namespace:  Newtonsoft.Json.Converters
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
public bool WriteArrayAttribute { get; set; }

Property Value

Type: Boolean
true if the array attribute is written to the XML; otherwise, false.
See Also