I am trying to implement struts2-jquery-grid. But I am stuck with the serialization issue. I can’t find out really what is mean by serialization in struts2 type="json". I have checked the struts website documentation but that is not clear to me. Anyone please tell me in simple words what is struts serialization?
I am trying to implement struts2-jquery-grid. But I am stuck with the serialization issue.
Share
serialization is the process of converting a data structure or object state into a format that can be stored (for example, in a file or memory buffer, or transmitted across a network connection link) and “resurrected” later in the same or another computer environment.
So JSON plugin is converting your whole object graph, starting on the action class and will send the data to the UI where the JSON data can be used for UI display and same process can be used in reverse order.
Concept of serialization is not specific to Struts2 its a generic concept and is used a lot in real life application