I had just an idea when travelling by train. In 3.12 we can specify which extra json files to load via the ‘auguments’ variable in def.json. What I propose is an autoloading feature for json files ala ‘autorun’ bundles.
When we enable autoload ison. Then all files that are place in, eg $(sys.inputdir)/json.d” will be automatically read in an merged. So we can easily override/set values without editing def.json, eg
* enabling autorun, place in ‘json.d/autorun.json”
{
"classes" :
{
"services_autorun" : "any"
}
}
It can be enabled by an extra command line option or by setting the class ‘json_autoload” , eg`-Djson_autoload”
So we can easily set classes and variables by dropping files in this directory without touching any config files.