On Friday, 7 July 2017 at 19:40:35 UTC, FoxyBrown wrote:
What's the "best" way to do this? I want something I can simply
load at startup in a convenient and easy way then save when
necessary(possibly be efficient at it, but probably doesn't
matter).
Simply json an array and save and load it, or is there a better
way?
Ideally, I'd like to store the settings as part of the binary
to keep everything together but that poses a few issues I think.
Setting are not kept in binary (usually). Normally the installer
would take care of creating a folder somewhere with a
JSON/XML/SQlite file which stores settings.