I am curious to know what happens when we de-serialize an object.
For example if my class object is composed of many other objects, how does the object creation process takes place in De-serialization process
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Objects are created with default initialized fields and then populated with attribute values taken from the serial stream. The object creation is done by runtime system “magic” rather than a declared (or implicit) constructor.