This demo showcases how to save a simple game with each serialization format supported by Godot:
More formats may be added in the future.
For more information, see this documentation article: https://docs.godotengine.org/en/latest/tutorials/io/saving_games.html
See the Run-time File Saving and Loading demo for an example of loading various file types in an exported project without needing to import them.
Language: GDScript
Renderer: Mobile
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/891