Skip to main content
A newer version of this page is available. .

DashboardJsonConverter.XmlToJson(XDocument) Method

Converts a dashboard XML definition to the JSON string.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v20.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Dashboard

Declaration

public static string XmlToJson(
    XDocument dashboardDocument
)

Parameters

Name Type Description
dashboardDocument XDocument

A XDocument that specifies the dashboard XML definition.

Returns

Type Description
String

A String value that is the JSON dashboard model.

See Also