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
My initial idea was to implement some mapping between the YAML format and the Properties format as I did with XML (see #5 as implemented in XMLLoader )
The loaders are now pluggable with Loaders.registerLoader(), so I will probably implement just the xml and the properties format, since the parsers for those are already available in JRE, and provide to the user the possibility to register additional loaders to the ConfigFactory.
If I were using YAML I would probably go for SnakeYaml directly which provides a good serialization stack between yaml and java objects. I can't see the advantage to use OWNER in this case.
With YAML we will be able to describe entire objects, rather than properties: it fits very well the mechanics for complex configuration.
http://en.wikipedia.org/wiki/YAML
http://yaml.org/
I suggest to use SnakeYAML as java library:
http://code.google.com/p/snakeyaml/
The text was updated successfully, but these errors were encountered: