Serialization
Related terms: save system, save file, JSON, binary, versioning
Turning live objects in memory into bytes that can be stored or sent, and turning them back. Save games, scene files, prefabs and network messages all depend on it.
Text formats such as JSON are readable but large. Binary formats are compact and fast. The format is the easy part. The hard parts are deciding what to save, restoring links with persistent identifiers, and migrating old saves after the game has changed.
- Further reading
- Godot: Saving games