Click or drag to resize
Json.NET

XmlNodeConverterOmitRootObject Property

 
Gets or sets a value indicating whether to write the root JSON object.

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

Property Value

Type: Boolean
true if the JSON root object is omitted; otherwise, false.
See Also