Skip to main content
All docs
V23.2

IReportDesignerModelSerializer.GetJsonModelScript(ReportDesignerModel) Method

Serializes the specified Report Designer View Model.

Namespace: DevExpress.XtraReports.Web.ReportDesigner.Services

Assembly: DevExpress.XtraReports.v23.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

string GetJsonModelScript(
    ReportDesignerModel reportDesignerModel
)

Parameters

Name Type Description
reportDesignerModel ReportDesignerModel

A server-side Report Designer View Model.

Returns

Type Description
String

A JSON string that is the serialized View Model.

Remarks

The native implementations of the IReportDesignerModelBuilder interface and the ReportDesignerClientSideModelGenerator class use the IReportDesignerModelSerializer service and its GetJsonModelScript method to generate a JSON script that can be passed to the client and deserialized.

See Also