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.v24.2.AspNetCore.dll
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