What is Serialize and Deserialize for? [duplicate]

0

My question is what is it for Serialize and Deserialize in C #. I have an API and am having some issues with this, so I want to understand it better.

    
asked by anonymous 29.12.2015 / 12:46

2 answers

1

With Serialize, you create a series of data, for example a JSON.

You can serialize a List list in a JSON to return to a page and fill a grid of data via javascript, for example.

The same happens on the contrary, you "deserialize" a JSON to a list List

    
29.12.2015 / 12:50
1

Serialize is the process of transforming an object into a stream of bytes! An example is to get a List < > and turn it into a JSON to manipulate somewhere and then turn it into a List again.

    
29.12.2015 / 12:49