You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can merge any configuration object (like Config.Default or Config.User) via the ConfigObject.ApplyJsonFromPath() method:
// create merged instancevarmerged= Config.ApplyJsonFromPath("/home/userxy/myconfig.json", Config.Default);// if no config object is specified, you will get the bare config from the .jsonvarbare= Config.ApplyJsonFromPath("/home/userxy/myconfig.json");
I am not seeing how to create a Config object with an explicit path?
Sorry if this is an elementary question.
There is no Config constructor that accepts a path.
I see this project, that may be a response to this need.
https://github.com/splitice/JSONConfigHelpers.Net
Thoughts?
The text was updated successfully, but these errors were encountered: