DashboardJsonConverter.XmlToJson(XDocument, IDataProtectionProvider) Method
In This Article
Converts a dashboard XML definition to the JSON string with specified data protection services.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
#Declaration
public static string XmlToJson(
XDocument dashboardDocument,
IDataProtectionProvider protectionProvider
)
#Parameters
Name | Type | Description |
---|---|---|
dashboard |
XDocument | A XDocument that specifies the dashboard XML definition. |
protection |
IData |
A IData |
#Returns
Type | Description |
---|---|
String | A String value that is the JSON dashboard model. |
See Also