Re: YAML for Java
"Nathan Sweet" <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
Sure. YamlBeans actually uses the tokenizer, parser, and emitter from JvYAML. These have been refactored pretty heavily in some cases and a few bugs have been fixed. It doesn't use the rest of the pieces from JvYAML because I felt the API was not easy enough to use, and not just from lack of documentation. Instead, I wrote new serialization and deserialization code that is as simple as possible. My YamlReader and YamlWriter classes are little more than 300 lines each. The focus was on a super easy to use API and also clean (and configurable) YAML output. Examples of the API and configurable YAML output can be seen in the documentation on the YamlBeans website. http://yamlbeans.sourceforge.net/ I was just recently told YamlBeans "is like Xstream for YAML". It turns out I unknowingly came very close to building Xstream! Looking into Xstream, I could have written a driver to read and emit YAML (eg they have a JSON driver, though it is not as powerful as their XML driver). Oh well, I like having a tight API that is dedicated to YAML. XStream has some additional features, though none I feel YamlBeans needs. Their JAR is 401k (with no xpp parser) versus YamlBeans' 138k. http://xstream.codehaus.org/ -Nate On Tue, Aug 19, 2008 at 12:15 AM, Zenaan Harkness <[email protected]> wrote: > On Mon, Aug 18, 2008 at 11:25:24AM -0700, Nathan Sweet wrote: > > I have just released my YAML library for Java: YamlBeans. Check it out > here: > > http://yamlbeans.sourceforge.net/ > > > > Could I get a mention on yaml.org? :) > > Hi Nate, can you please give a run-down on its differences between > jvYaml? > > Thanks > Zen > > > -- > Homepage: www.SoulSound.net -- Free Australia: www.UPMART.org > Please respect the confidentiality of this email as sensibly warranted. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Yaml-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/yaml-core > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core