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


public static XDocument JsonToXml(
    string json,
    IDataProtectionProvider protectionProvider
Public Shared Function JsonToXml(
    json As String,
    protectionProvider As IDataProtectionProvider
) As XDocument


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.


Type Description

A XDocument that is the dashboard XML definition.

See Also