Skip to content

serde

SerDe stands for Serialization and Deserialization. It refers to the process of:

  • Serialization: Converting data into transmittable and formatted data.
  • Deserialization: Converting formatted data into a usable data structure.

SerDe is not responsible for:

  • Compression (e.g., lz4, zlib)
  • Encoding (e.g., base64, hex)
  • Cryptography (e.g., hashing, encryption)

Purpose

SerDe helps in the process of data persistence, mainly between the network boundary.

Use Cases

  • Saving configurable files
  • Sending formatted data through the network boundary, mostly using API's.
  • Saving parsable data to the disk