JSON Serialization
For saving more advanced data structures, you can serialize them to JSON and store them in the Save system.
What gets saved?
Player_Progress :: class {
version: s64 @ao_serialize;
xp: s64 @ao_serialize;
level: s64 @ao_serialize;
unlocked_skins: [..]string @ao_serialize;
}Saving JSON
Loading JSON (with defaults)
Versioning & migrations
When to use JSON vs simple keys
Last updated