Serialization: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
==Keep your Schema Backward Compatible== | ==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== | ==Ensure Data Schemas are Kept in Sync between Clients and Servers== | ||
==Document Implicit Details== | ==Document Implicit Details== |
Revision as of 21:55, 4 October 2023
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.