JsonDataLoadOptionsAlwaysGenerateRootObject Property

Gets or sets a flag indicating whether a generated data source will always contain an object for a JSON root element. If a JSON root element contains a single complex property, such an object is not created by default.

Namespace:  GroupDocs.Assembly.Data
Assembly:  GroupDocs.Assembly (in GroupDocs.Assembly.dll) Version: 21.9
Syntax
public bool AlwaysGenerateRootObject { get; set; }

Property Value

Type: Boolean
Remarks
The default value is false.
See Also