Template
{
"path.to.my.value" :
{
"defaultValue" : "Some default value"
},
"path.to.my.defaultValue" :
{
"defaultValue" : "Set by template"
},
"path.to.my.otherValue" :
{
},
"path.to.another.path" :
{
"defaultValue" : "This is the default value"
}
}
User config
The user config is the file which contains the values set by the setValue() method.
The getValue() method will first try to get the value from the user config and fallback to the default value defined in the template.
{
"path" :
{
"to" :
{
"my" :
{
"value" : null
"defaultValue" : null,
"otherValue : "This must be set"
},
"another" :
{
"path" : "The default value has been replaced"
}
}
}
}