Expand description
Custom serialization layer for the save system.
SerializedValue is a JSON-compatible value enum. The Serialize and
Deserialize traits let any game type opt into save/load support without
pulling in serde.
A simple hand-written JSON encoder/decoder is included so save files are human-readable without any extra dependencies.
Structs§
- Component
Serializer - Registry mapping component type names to their serialize/deserialize functions.
Enums§
- Deserialize
Error - Errors that can occur during deserialization.
- Serialized
Value - A generic serialized value, analogous to
serde_json::Value.
Traits§
- Deserialize
- Reconstruct a value from a
SerializedValue. - Serialize
- Convert a value to a
SerializedValue.