It depends on which platform you are targeting, and the size and complexity of the data structures you want to keep. Obviously, an open and easy-to-read format, such as XML or JSON or something else, is preferable, but things like a SQLite database or even a custom save format may be suitable for larger applications.
So, the most important things to consider are:
- Support for your platform / language of choice
- The importance of human readability / hacking (can be desirable or very undesirable, and note that this also affects the ability of third-party developers to create applications that consume your stored data).
- The size
- Speed โโof access to data (with a potential compromise, how much memory will be required to load all this into memory at once)
, , , . SQLite , , / ( ), , ( sqlite ), .