Skip to main content

ReportDesignerExtension.ConvertReportJsonToXml(String) Method

Returns the binary representation of a report layout encoded in the specified JSON string.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static byte[] ConvertReportJsonToXml(
    string json
)

Parameters

Name Type Description
json String

A String value, storing the report layout in JSON format.

Returns

Type Description
Byte[]

A Byte array, storing the report layout in binary form.

Remarks

Note that the JSON format should not be used to store report definitions, since a report stored in JSON format is version dependent.

The main purpose of the JSON format is to transfer report data from the client to the server, where this data should be converted to XML, and only XML data should be stored in the application (saved to a file or database).

See Also