![]() ![]() Manual creation of code to write and read object is time-consuming and liable to mistakes. Developers are required to rely on additional libraries or to manually write serialization code. ![]() However there is no support for more advanced constructions like pointers, references, variants, collections and objects. In particular, C++ standard library contains stream representation as well as conversions between a binary or text streams and built-in data types. In other programming languages, serialization is supported partially, and the usage needs some support in more advanced cases. In the optimal situation serialization (and deserialization), the object does not require any additional development and code. Many popular programming languages have serialization support included in the language core or in the standard library. Serialization is a low-level technique that violates encapsulation and breaks the opacity of an abstract data type. The object after serialization is called archive. The reconstructed object is a semantically identical clone to the original object. The object state could be reconstructed later in the opposite process, called deserializationor unmarshalling. The serialization changes the object state into series of bits. Serializationor marshalingis the process of converting object state into a format that can be transmitted or stored. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |