[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16063698#comment-16063698 ] Oliver Heger commented on CONFIGURATION-258: Added you to the contributors section in revision 1799978. > 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&focusedCommentId=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&focusedCommentId=16060047#comment-16060047 ] Gary Gregory commented on CONFIGURATION-258: I see that JSON/YAML support introduced a dep on snakeyaml. Can't we get JSON/YAML support through Jackson instead? > 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&focusedCommentId=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&focusedCommentId=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] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16035995#comment-16035995 ] Oliver Heger commented on CONFIGURATION-258: Finally I came to reviewing this patch (sorry that it took so long). The patch looks pretty good. Below are some comments: * The name {{AbstractMapBasedConfiguration}} could be confused with {{MapConfiguration}} (which is completely unrelated). Could there be a better name describing what JSON and YAML have in common? (I have trouble with finding one, too.) * Is it possible to add the copy constructors supported by other hierarchical configurations (that accept another hierarchical configuration as argument)? * Please make sure that all source files have the Apache license header. Ideally, even test data files should have headers if possible. (Not sure whether JSON supports comments, I think YAML does.) * We do not use @author tags any longer, so they should be removed. * What is the json_helper.js file about? * Some more comments, especially on newly introduced public methods, would be good. But I could also add them later. Thank you very much for your contribution. > 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-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030068#comment-16030068 ] Oliver Heger commented on CONFIGURATION-258: Many thanks. I will have a look (hopefully in the next days). > 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-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029994#comment-16029994 ] Oliver Heger commented on CONFIGURATION-258: Hm, this patch seems to be incomplete. It is just one KByte in size and consists of a test JSON file. Do I miss 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 >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-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16028498#comment-16028498 ] Oliver Heger commented on CONFIGURATION-258: Sorry, I lost track about this issue. Has there already something been implemented? I cannot find a corresponding 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] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15975323#comment-15975323 ] Emmanuel Bourg commented on CONFIGURATION-258: -- Note that the org.json library can't be used because its license has a field of use restriction (the famous "The Software shall be used for Good, not Evil" clause). > 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-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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&focusedCommentId=15975144#comment-15975144 ] Joerg Schaible commented on CONFIGURATION-258: -- Usage of the JavaScript interpreter is a bad idea, because it's evaluation not limited to JSON, but will evaluate any kind of JavaScript expression opening even security issues: {code:javascript} { "regexp": /foo/, "oops": new java.lang.ProcessBuilder(new java.lang.String("notepad.exe"), new java.lang.String("c:\\boot.ini")).start() } {code} Not sure, if I got it right directly by heart, but you get the idea. A real JSON parser does not allow this at all. > 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&focusedCommentId=15975088#comment-15975088 ] Gary Gregory commented on CONFIGURATION-258: There is also Google Gson which I've used a plenty and is quite good. This component already depends on other libraries, so one more is OK by me. > 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&focusedCommentId=15974935#comment-15974935 ] Emmanuel Bourg commented on CONFIGURATION-258: -- That's up to you. A JSONConfiguration based on javax.script could be interesting too, probably slower than a javacc parser, but performance isn't really critical here. > 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&focusedCommentId=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&focusedCommentId=15974720#comment-15974720 ] Emmanuel Bourg commented on CONFIGURATION-258: -- I have no preference, if you can reuse the javacc parser that's great but jackson is fine too. Nashorn is Java 8+ only and commons-configuration isn't there yet. > 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&focusedCommentId=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] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974672#comment-15974672 ] Emmanuel Bourg commented on CONFIGURATION-258: -- It was on the experimental branch for configuration2: http://svn.apache.org/repos/asf/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/json/ > 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&focusedCommentId=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] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15269348#comment-15269348 ] Oliver Heger commented on CONFIGURATION-258: It seems that this somehow got lost. I assume that the patch will no longer apply on trunk since it is very old. Any help on this would be appreciated - support for JSON is obviously a desired feature. > 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.4#6332)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268137#comment-15268137 ] Zeba Ahmad commented on CONFIGURATION-258: -- Hi Oliver, Emmanuel, what is the current status for json config file support on apache-commons-config? The commit shown here seems to be on the configuration2_experimental branch only. Any reason why it wasn't merged? Can we improve or contribute patch for this? > 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.4#6332)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855693#comment-13855693 ] Michael Kunze commented on CONFIGURATION-258: - Any progress on the backport? Would love to have this feature in 1.x available! > 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.1.5#6160)
[jira] [Commented] (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443986#comment-13443986 ] Martin Burger commented on CONFIGURATION-258: - Any news on the backport? > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONFIGURATION-258) JSON configuration
[ https://issues.apache.org/jira/browse/CONFIGURATION-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722674#action_12722674 ] Emmanuel Bourg commented on CONFIGURATION-258: -- JSONConfiguration is now available on the 2.0 branch. I'll backport it to the trunk. > 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 is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.