DataSourceRequest serialization and deserialization

0 Answers 5 Views
Calendar ComboBox Date/Time Pickers DropDownList Editor Filter General Discussions MultiSelect
Salvatore
Top achievements
Rank 1
Salvatore asked on 23 Jul 2025, 01:48 PM

Good morning,
i am using MVC.ASP net in my project and i'm trying to send the DataSourceRequest to a service , via rabbitmq.

the message should contains all the request filters set in the ui in order to create an excel report. i have tried to use the System.Text.Json serialization but it's not working properly. it serializes only the first level props.
i have found a ".ToJson" extension  but it's returning a Dictionary<string, object>, not usefule here.

can you suggest how to serialize the DataSourceRequest in Json format? with all nested and recursive properties?

the filters can be about dates, strings, combobox, and so on

thanks in advance

No answers yet. Maybe you can help?

Tags
Calendar ComboBox Date/Time Pickers DropDownList Editor Filter General Discussions MultiSelect
Asked by
Salvatore
Top achievements
Rank 1
Share this question
or