Of major importance is that JvYAML works the same way as SYCK, so that JRuby can rely on YAML parsing and emitting that mirrors C Ruby.
JvYAML is a clean port of RbYAML, which was a port from Python code written by Kirill Simonov
import org.jvyaml.YAML;There is also support for more advanced loading of JavaBeans with automatic setting of properties with the use of domain tags in the YAML document.
Map configuration = (Map)YAML.load(new FileReader("c:/projects/ourSpecificConfig.yml"));
List values = (List)YAML.load("--- \n- A\n- b\n- c\n");
At java.net: http://jvyaml.dev.java.net
JvYAML is distributed with the MIT license.