Skip to main content

DashboardJsonConverter.XmlToJson(XDocument) Method

Converts a dashboard XML definition to the JSON string.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v23.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