SnakeYAML is a YAML parser and emitter for the Java programming language. SnakeYAML tries to be as close as possible to PyYAML API allowing documents to be easily exchanged between Python and Java.
SnakeYAML features
a complete YAML 1.1 parser. In particular, SnakeYAML can parse all examples from the specification.
Unicode support including UTF-8/UTF-16 input/output.
high-level API for serializing and deserializing native Java objects.
support for all types from the YAML types repository.