I am using jsoncpp to read settings from a JSON file.
I would like to have two cascading settings files, for example MasterSettings.json and MasterSettings.json , where LocalSettings is a subset of MasterSettings. I would like to download MasterSettings first and then LocalSettings. If LocalSettings has a value other than MasterSettings, this value will overwrite one of the MasterSettings. Very similar to cascading in CSS.
Is there an elegant way to do this using jsoncpp?
source share