Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I was going through the serialization and de-serialization concepts and trying to relate it with what i worked and what I understood, please correct me if i am wrong..

What I have tried:

ajax call to Get data for example:
$.ajax({
url: 'http://localhost:8080/API_SVC/api/EmployeeAPI',
type: 'GET',
dataType: 'json',
success: function (data) {
WriteResponse(data);
}

when we make an ajax call to get a response from an action in controller, we get object in response and then response object will be converted to either in Json or xml. so That we can bind the returned data to any controls in views. Does this come under serialization or am i in the wrong path.

could anyone help me in understanding this. Thanks in advance...
Posted
Comments
Maciej Los 30-Apr-17 5:01am    
If ajax xall is used to return json data, these data are in json format. That's the reason you have to deserialize it.
Check this
Member 12424653 30-Apr-17 19:35pm    
Is my understanding correct as per the description posted.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900