Montag, 1. März 2010

YAML with snakeyaml

I played a bit around with YAML, here my results. I have used the Java implementation snakeyaml. Unfortunately I have not found a implementation that use Java annotation for mapping between YAML and Java Bean Objects.



The Java bean code, for the configuration:



And here a small test which use snakeyaml to load the YML file:


There is also a cool plugin for YAML editor support in eclipse called yedit, here a screenshot:


Links: