config-cpp icon indicating copy to clipboard operation
config-cpp copied to clipboard

TBD: Add support for specifying multi-level default values

Open CJLove opened this issue 6 years ago • 0 comments

The following should establish a default value provided that there is no subkey in the top-level dictionary for JSON or YAML.

config.SetDefault("key.subkey","value");

CJLove avatar Jan 01 '19 23:01 CJLove