config-cpp
                                
                                
                                
                                    config-cpp copied to clipboard
                            
                            
                            
                        TBD: Add support for specifying multi-level default values
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");