Multiple "sets of settings"

Did someone come over some code that saves a program’s user settings in multiple “sets of settings” for different purposes?

I just don’t want to re-invent the reel.

What about reserve a folder like “presets” and save JSON files there? Every JSON there carries your settings, each one one variant.

Thank you, Rick!

I already had this idea, but I thought there might exist a code sample, to support my laziness :wink:

That was the more lazy people supportive thing I could imagine.

I use a sqlite database class with gets and sets for key pair values.

Does not take long to configure, and can be dropped into any project.