Serialization - . NET | Microsoft Learn This article provides information about NET serialization technologies, including binary serialization, XML and SOAP serialization, and JSON serialization
Serialization - Visual Basic | Microsoft Learn Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file Its main purpose is to save the state of an object in order to be able to recreate it when needed The reverse process is called deserialization
Serialization: Making a Serializable Class | Microsoft Learn The MFC serialization code checks the schema number when reading objects into memory If the schema number of the object on disk does not match the schema number of the class in memory, the library will throw a CArchiveException, preventing your program from reading an incorrect version of the object
Serialization - Framework Design Guidelines | Microsoft Learn Serialization is the process of converting an object into a format that can be readily persisted or transported For example, you can serialize an object, transport it over the internet using HTTP, and deserialize it at the destination machine The NET Framework offers three main serialization technologies optimized for various serialization scenarios The following table lists these
Serialization in MFC | Microsoft Learn Serialization is ideal for situations where it is desired to maintain the state of structured data (such as C++ classes or structures) during or after execution of a program Using the serialization objects provided by MFC allows this to occur in a standard and consistent manner, relieving the user from the need to perform file operations by hand
How to serialize JSON in C# - . NET | Microsoft Learn This article shows how to use the System Text Json namespace to serialize to JavaScript Object Notation (JSON) If you're porting existing code from Newtonsoft Json, see How to migrate to System Text Json
Customize File Storage and XML Serialization Customize the structure of the XML To make the following customizations, expand the Xml Serialization Behavior node in DSL Explorer Under a domain class, expand the Element Data node to see the list of properties and relationships that are sourced at this class Select a relationship and adjust its options in the Properties window
Custom serialization and deserialization contracts - . NET The following list shows just some examples of the types of customizations you can make to serialization and deserialization: Serialize private fields and properties Support multiple names for a single property (for example, if a previous library version used a different name) Ignore properties with a specific name, type, or value