DEV Community

Discussion on: Passing serialized C# object in JSON to Razor Page

Collapse
 
vilmes21 profile image
VM

Another solution: use a hidden text input whose value = @Model.ReportJson. Then grab it as a string by JS.