Recommended parser for Java
Andrey Somov <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all, at the moment yaml.org mentions four YAML parsers for Java. It means that developers have to try a few to find out which one matches the task. Of course if one tries to parse a "hello world" file then all the parsers work. But once the complexity grows then the parsers clearly show their peculiarities. JYaml has the weakest parser. Sometimes developers even want to compensate JYaml limitations asking to change other (properly working!) parsers: http://pyyaml.org/ticket/134 But Google puts JYaml on top when one searches for "java yaml". JvYaml and YamlBeans do not implement complete 1.1 specification but it is not mentioned anywhere on their web-site. Sometimes developer's investigation may result in a misleading conclusion. Like it happened here: http://blog.bytemine.net/2009/12/07/yaml-in-java-and-ruby-welcome-yamlbeans where the developer reports a failure for one parser (with one line of code) and success for another parser (with a lot of configuration code). I think developers often do not have enough time to make an accurate estimation. And the community should help here. Also I clearly see the advantage that Python has only one standard parser. It means that the whole Python community improves the single code base and it makes PyYAML very stable and feature rich. I would like to propose to indicate the recommended parser for Java on yaml.org Can we may be vote here? The poll is very simple. 1) yes, I do want to indicate the recommended Java parser and it should be Bla-bla 2) no, please do not indicate the recommended parser (because bla-bla) If we clearly see the leader then it may be shown on the yaml.org I vote for p. 1 (Since I am biased I do not indicate which parser :) The selection criteria may include: - community - open issues/bugs - specification compliance - features - documentation Please note that I do not propose to remove or discourage anything. Just to select one parser for Java and mark it as recommended. Once another parser becomes better the recommendation may change. P.S. I have already tried to compare available Java parsers: http://stackoverflow.com/questions/450399/which-java-yaml-library-should-i-use http://vomos.blogspot.com/2009_11_01_archive.html - Andrey ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev