[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16060070#comment-16060070 ] The Alchemist commented on CONFIGURATION-258: - [~garydgregory]: Jackson actually uses snakeyaml for YAML parsing (https://github.com/FasterXML/jackson-dataformats-text/blob/master/yaml/pom.xml#L32), so I decided to skip the middle-man to avoid introducing any unnecessary dependencies. > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.2 > > Attachments: commons-configuration2-yaml.and.json.support.diff > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16059941#comment-16059941 ] The Alchemist commented on CONFIGURATION-258: - [~oliver.he...@t-online.de]: Thanks much! In the contributors section, I'd be perfectly happy with {{The Alchemist}}. > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.2 > > Attachments: commons-configuration2-yaml.and.json.support.diff > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16054464#comment-16054464 ] The Alchemist commented on CONFIGURATION-258: - [~oliver.he...@t-online.de]: Sorry for the delay. * {{json_helper.js}} is for another project. I shouldn't have included it, sorry! * Unfortunately, I don't have the time to fix the patch, but I'm assigning copyright to Apache, so feel free to do with it as you wish. > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > Attachments: commons-configuration2-yaml.and.json.support.diff > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Comment Edited] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16030002#comment-16030002 ] The Alchemist edited comment on CONFIGURATION-258 at 5/30/17 7:37 PM: -- Sorry, I messed up and uploaded a bad patch. was (Author: the_alchemist): New version of JSON/YAML patch > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > Attachments: commons-configuration2-yaml.and.json.support.diff > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] The Alchemist updated CONFIGURATION-258: Attachment: commons-configuration2-yaml.and.json.support.diff New version of JSON/YAML patch > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > Attachments: commons-configuration2-yaml.and.json.support.diff > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] The Alchemist updated CONFIGURATION-258: Attachment: (was: commons-configuration2-yaml.and.json.support.diff) > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16028605#comment-16028605 ] The Alchemist commented on CONFIGURATION-258: - @[~oliver.he...@t-online.de]: Yup... Patch at [^commons-configuration2-yaml.and.json.support.diff] > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > Attachments: commons-configuration2-yaml.and.json.support.diff > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-656) YAML Configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15979924#comment-15979924 ] The Alchemist commented on CONFIGURATION-656: - A new version of the patch is available at https://issues.apache.org/jira/secure/attachment/12864054/commons-configuration2-yaml.and.json.support.diff. I made an superclass that is used by both the JSON and YAML {{Configuration}} classes. > YAML Configuration > -- > > Key: CONFIGURATION-656 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-656 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Reporter: Gary Gregory > > Like the missing JSON Configuration, we really should also support YAML. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (CONFIGURATION-656) YAML Configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] The Alchemist updated CONFIGURATION-656: Attachment: (was: commons-configuration2-yaml.support.patch) > YAML Configuration > -- > > Key: CONFIGURATION-656 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-656 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Reporter: Gary Gregory > > Like the missing JSON Configuration, we really should also support YAML. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Comment Edited] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15975250#comment-15975250 ] The Alchemist edited comment on CONFIGURATION-258 at 4/19/17 6:32 PM: -- YAML and JSON support are combined at [^commons-configuration2-yaml.and.json.support.diff] because they both share the same superclass, which provides helpers for {{Map}}. was (Author: the_alchemist): YAML and JSON support are combined here because they both share the same superclass, which provides helpers for {{Map }}. > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > Attachments: commons-configuration2-yaml.and.json.support.diff > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] The Alchemist updated CONFIGURATION-258: Attachment: commons-configuration2-yaml.and.json.support.diff YAML and JSON support are combined here because they both share the same superclass, which provides helpers for {{Map}}. > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > Attachments: commons-configuration2-yaml.and.json.support.diff > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Comment Edited] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15975178#comment-15975178 ] The Alchemist edited comment on CONFIGURATION-258 at 4/19/17 6:30 PM: -- @[~joehni]: Good call. If we limit ourselves to Java 8, we can use [ScriptObjectMirror.wrapAsJSONCompatible()|https://docs.oracle.com/javase/8/docs/jdk/api/nashorn/jdk/nashorn/api/scripting/ScriptObjectMirror.html#wrapAsJSONCompatible-java.lang.Object-java.lang.Object-] but it seems like an external library is the way to go. I was thinking about using the [org.json|http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.json%22%20AND%20a%3A%22json%22] library which is nice and small, but it gave me too much trouble, so I've attached a patch that uses Jackson's JSON support. P.S. I was thinking about creating a separate {{commons-configuration2-jackson}} module, but the package structure isn't really conducive to that. Ideally, everything out of the root module and turn it into type POM. was (Author: the_alchemist): @[~joehni]: Good call. If we limit ourselves to Java 8, we can use [ScriptObjectMirror.wrapAsJSONCompatible()|https://docs.oracle.com/javase/8/docs/jdk/api/nashorn/jdk/nashorn/api/scripting/ScriptObjectMirror.html#wrapAsJSONCompatible-java.lang.Object-java.lang.Object-] but it seems like an external library is the way to go. The [org.json|http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.json%22%20AND%20a%3A%22json%22] is nice small library (~55KB). Any objections to that? > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15975178#comment-15975178 ] The Alchemist commented on CONFIGURATION-258: - @[~joehni]: Good call. If we limit ourselves to Java 8, we can use [ScriptObjectMirror.wrapAsJSONCompatible()|https://docs.oracle.com/javase/8/docs/jdk/api/nashorn/jdk/nashorn/api/scripting/ScriptObjectMirror.html#wrapAsJSONCompatible-java.lang.Object-java.lang.Object-] but it seems like an external library is the way to go. The [org.json|http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.json%22%20AND%20a%3A%22json%22] is nice small library (~55KB). Any objections to that? > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15974750#comment-15974750 ] The Alchemist commented on CONFIGURATION-258: - Sorry, I mis-spoke. Java 7 comes with a Javascript engine too (Rhino-based instead of Nashorn-based). But you'd prefer jackson/javacc parser versus the built-in Javascript engine? > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15974689#comment-15974689 ] The Alchemist commented on CONFIGURATION-258: - @[~ebourg]: Looks like it uses the now-defunct {{ConfigurationNode}}, which was removed as part of CONFIGURATION-575. I can: * try to re-vive this custom parser * just use the Nashorn javascript engine to parse JSON, which will work on the (Oracle) VM 7 and above * use jackson's JSON parser Perhaps a {{commons-configuration2-jackson}} module would be useful if you wanna go with that approach? Just let me know which one you want to use and I'll code it up. > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Priority: Minor > Fix For: 2.x > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Comment Edited] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15974637#comment-15974637 ] The Alchemist edited comment on CONFIGURATION-258 at 4/19/17 1:26 PM: -- @[~ebourg]: I can't find a {{JSONConfiguration}} in 2.x or trunk. Am I missing something? was (Author: the_alchemist): @[~ebourg]: I can't find a {{JSONConfiguration}} in 2.x. Am I missing something? > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Assignee: Emmanuel Bourg >Priority: Minor > Fix For: 2.x > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Comment Edited] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15974637#comment-15974637 ] The Alchemist edited comment on CONFIGURATION-258 at 4/19/17 1:26 PM: -- @[~ebourg]: I can't find a {{JSONConfiguration}} in 2.x. Am I missing something? was (Author: the_alchemist): @[~ebourg]: I can't find a {{JSONConfiguration}} in 2.0. Am I missing something? > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Assignee: Emmanuel Bourg >Priority: Minor > Fix For: 2.x > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15974637#comment-15974637 ] The Alchemist commented on CONFIGURATION-258: - @[~ebourg]: I can't find a {{JSONConfiguration}} in 2.0. Am I missing something? > JSON configuration > -- > > Key: CONFIGURATION-258 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-258 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Affects Versions: 1.3 >Reporter: Antonio López-Cerón Vivo >Assignee: Emmanuel Bourg >Priority: Minor > Fix For: 2.x > > > JSON is a lightweight data-interchange format > {code} > {"menu": { > "id": "file", > "value": "File", > "popup": { > "menuitem": [ > {"value": "New", "onclick": "CreateNewDoc()"}, > {"value": "Open", "onclick": "OpenDoc()"}, > {"value": "Close", "onclick": "CloseDoc()"} > ] > } > }} > {code} > All references can be located at > http://www.json.org/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (CONFIGURATION-656) YAML Configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] The Alchemist updated CONFIGURATION-656: Attachment: commons-configuration2-yaml.support.patch Attached patch against trunk to add YAML support using SnakeYAML. Test coverage is pretty good. Do you guys want a separate {{configuration2-yaml}} module? > YAML Configuration > -- > > Key: CONFIGURATION-656 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-656 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Reporter: Gary Gregory > Attachments: commons-configuration2-yaml.support.patch > > > Like the missing JSON Configuration, we really should also support YAML. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-656) YAML Configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15973285#comment-15973285 ] The Alchemist commented on CONFIGURATION-656: - Turns out that jackson's YAML support uses snakeyaml (https://github.com/FasterXML/jackson-dataformats-text/tree/master/yaml), so I'm just gonna use that. > YAML Configuration > -- > > Key: CONFIGURATION-656 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-656 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Reporter: Gary Gregory > > Like the missing JSON Configuration, we really should also support YAML. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-656) YAML Configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15973097#comment-15973097 ] The Alchemist commented on CONFIGURATION-656: - @[~oliver.he...@t-online.de]: Are you saying you would reject a patch that uses Jackson for YAML, or that creating a parser is a long-term goal after an implementation that uses Jackson/whatever is used? > YAML Configuration > -- > > Key: CONFIGURATION-656 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-656 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Reporter: Gary Gregory > > Like the missing JSON Configuration, we really should also support YAML. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (CONFIGURATION-663) typo at /userguide/upgradeto2_0.html
The Alchemist created CONFIGURATION-663: --- Summary: typo at /userguide/upgradeto2_0.html Key: CONFIGURATION-663 URL: https://issues.apache.org/jira/browse/CONFIGURATION-663 Project: Commons Configuration Issue Type: Bug Reporter: The Alchemist At http://commons.apache.org/proper/commons-configuration/userguide/upgradeto2_0.html: "BasieHierarchicalConfiguration" should start with "Basic" instead? -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CONFIGURATION-656) YAML Configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15972969#comment-15972969 ] The Alchemist commented on CONFIGURATION-656: - I can write this if someone points me in the right direction. There's a few alive YAML libraries are there: * jackson-dataformat-yaml * yamlbeans * snakeyaml Any preference? > YAML Configuration > -- > > Key: CONFIGURATION-656 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-656 > Project: Commons Configuration > Issue Type: New Feature > Components: Format >Reporter: Gary Gregory > > Like the missing JSON Configuration, we really should also support YAML. -- This message was sent by Atlassian JIRA (v6.3.15#6346)