Skip to main content

DashboardJsonConverter.XmlToJson(XDocument) Method

Converts a dashboard XML definition to the JSON string.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll

NuGet Package: DevExpress.AspNetCore.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