To parse a YAML document, you can use this chain: YAML → SnakeYAML → Java → Your application (-> XStream → XML)
Issuing YAML is easier and there are several options: 1) Your application → XStream with a custom Writer → YAML 2) Your application → SnakeYAML → YAML
The second option does not require additional development.
source
share