Serialization

Serialization

Serialization:

class => string/stream

Deserialization:

string/stream => class

Types:

  1. Binary Serialization
    • converts to binary / byte array
    • [Serializable] attribute is used
  2. SOAP Serialization
    • converts to XML for SOAP transfer
  3. JSON Serialization
    • converts to string as json format