On Friday, 7 July 2017 at 22:52:22 UTC, FoxyBrown wrote:
On Friday, 7 July 2017 at 20:45:36 UTC, Moritz Maxeiner wrote:
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?

"best" always depends on your specific use case. I use json files via asdf [1]

[1] https://github.com/tamediadigital/asdf


Seems like quite a heavy package for what I need. I just want to write a AA to disk and load it, ultimately.

Then I would go with INI, because you'll ultimately just have key-value pairs.

https://code.dlang.org/packages/baussini (Pretty old but should still work just fine.)

Reply via email to