You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simon Bin (JIRA)" <ji...@apache.org> on 2016/04/13 23:13:25 UTC

[jira] [Created] (CONFIGURATION-623) Treat hierarchy delimiter equivalent to hierarchy instead of escaping

Simon Bin created CONFIGURATION-623:
---------------------------------------

             Summary: Treat hierarchy delimiter equivalent to hierarchy instead of escaping
                 Key: CONFIGURATION-623
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-623
             Project: Commons Configuration
          Issue Type: Wish
          Components: Expression engine
    Affects Versions: 2.0
            Reporter: Simon Bin


It would be nice if the . character could work as a hierarchy introducer, in such a way that those files

[learningtask]
trains.lp = 5

[learningtask.trains]
lp = 7

could be queried with config.getList(String.class, "learningtask.trains.lp");

(note, at the moment you need to use the escaped form and will only get one or the other: "learningtask..trains.lp" or "learningtask.trains..lp"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)