JsonDataSource.RootElement Property

Gets or sets the name of the root element in the associated data source.

Namespace: DevExpress.DataAccess.Json

Assembly: DevExpress.DataAccess.v19.2.dll

Declaration

[DefaultValue("")]
public string RootElement { get; set; }
<DefaultValue("")>
Public Property RootElement As String

Property Value

Type Default Description
String

String.Empty

The root element's name.

Remarks

This property is used to determine the element in the target JSON object from which data should be retrieved. By default, this property is set to the root element of the target JSON object. You can set this property to any JSON node that the retrieved JSON data includes.

See Also