Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
565
GridColumn and GridFeature json serialization and deserialization
posted

Hi,

I try to persist on server side any user grid status ( columns, features ).

I have a lightweight object that holds only a collection of GridColumns and a collection of GridFeatures .

I want to serialize the object in json (and vice versa), to be able to store the current state of a grid at any time (I did not used the Grid<T> object because i wanted only very few properties).
I'm doing the serialization/deserialization of the object manually , by creating some converters mapped to all the needed object ( GridColumns, GridFeatures, ColumnSettings ... ).

But I was wondering if there was a recommended way to serialize/deserialize the objects to be able to pass back and forth my grid configuration between the server and the browser ? If not i will continue with my solution.

Thank you in advance for any help, thoughts ...

Best regards