The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.AspNetCore.dll

Declaration

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

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