[Question] Owner configuration library whether support the config file that similar to JSon format?
See original GitHub issueHi, Thanks for your hard work for providing this excellent configuration library, I am very enjoying using the library in my Java projects.
Now I have a question about the library that whether support the configuration file format similar JSon, which supported by TypeSafe Config. As QA development engineer, in my current projects, I am have huge config file that format similar to JSon (maybe it is the JSon format exactly?), for example:
site {
url {
uat: http://xxxxxx1
dev: http://xxxxx2
}
}
credential {
account: name
password: pwd
}
in the code get the UAT url from the config file, such like: getString("site.url.uat"), get account of credential from the config file, such like: getString("credential.account").
so for Owner configuration library, is support this formated config file now?
Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
Creating JSON Configuration Files for Your Deployments
There are two parts to creating a JSON formatted configuration file: Define the configuration information for the version that you want to deploy....
Read more >lightbend/config: configuration library for JVM ... - GitHub
The JSON superset is called "Human-Optimized Config Object Notation" or HOCON, and files use the suffix .conf . See HOCON.md in this directory...
Read more >What are possible lightweight Java configuration libraries for ...
The Configuration is loaded as a Spring bean and exposes its internal Properties object to a PropertyPlaceholderConfigurer which allow further $var substitution ...
Read more >Configuration with app.json / app.config.js
Configuration with app.json/app.config.js. The Expo config (app.json, app.config.js, app.config.ts) is used for configuring how a project loads in Expo Go, ...
Read more >Why JSON isn't a Good Configuration Language - Lucidchart
Why is JSON popular as a config language? ... There are several reasons why JSON is used for configuration files. The biggest reason...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You have to implement Loader interface. Also you can try to use my implementation, maybe it will do. https://github.com/savkk/owner-json-ext
Actually, I am not dedicating time to this project. I know I should, since I like it and I used myself in the last project at my current job.
I cannot guarantee, since my life is quite changed since I had health problems, and my free time is dedicated to many things (including, recently, staying safe from pandemic coronavirus in Italy). So please be understanding.