DashboardJsonConverter.JsonToXml(String, IDataProtectionProvider) Method
Converts a dashboard XML definition to the JSON string with specified data protection services.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v25.1.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
Declaration
public static XDocument JsonToXml(
string json,
IDataProtectionProvider protectionProvider
)
Parameters
| Name | Type | Description |
|---|---|---|
| json | String | A System.String value that specifies the JSON dashboard model. |
| protectionProvider | IDataProtectionProvider | A IDataProtectionProvider object that provides data protection services. |
Returns
| Type | Description |
|---|---|
| XDocument | A XDocument that is the dashboard XML definition. |
See Also