-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support tree-structure config source #77
Comments
|
It should be possible to make a YAML/JSON ConfigSource that turns the hierarchy that's possible in those formats into the classic "dotted-notation" used in Java properties files. Many JSON parsers provide this functionality out-of-the-box. |
Like Akka Typesafe config ! |
|
In today's hangout, we come into conclusion on the requirement of the need of introducing another way to opt in property files, maybe using prefix saying javax-configxxx to opt in the tree-structure files e.g. javax-config.json or javax-config.yaml |
@tomas-langer @sebadiaz and @Emily-Jiang met today and agreed the following mapping strategy from tree structure to config name: sockets.1.name="name2" ................ |
|
From Tomas:
Find a way to resolve the following usecase: Yaml config like this:
API expectation: Config.asList(“sockets”, SocketConfig.class) [Tomas]
The text was updated successfully, but these errors were encountered: