Serialization

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Serialization is a process that encodes and decodes data for storing or sending between services. The process of transforming the original data into transit data is called serialization. The inverse process of transforming transit data into the original data is called deserialization.

Serialization Formats

Serialization Best Practices

Keep your Schema Backward Compatible

Avoid changes in data schema that would break existing callers. Such changes include modification (renaming or removal) of field names and types. Adding fields is fine.

Ensure Data Schemas are Kept in Sync between Clients and Servers

Document Implicit Details

Use Built-in Structures for Representing Time

Use Consistent Naming

Follow the Official Style Guide