Closed GoogleCodeExporter closed 9 years ago
please check FAQ here: http://code.google.com/p/snakeyaml/wiki/Documentation
By default, SnakeYAML chooses the style of a collection depending on whether it
has
nested collections. If a collection has nested collections, it will be assigned
the
block style. Otherwise it will have the flow style.
More info for the style is here:
http://yaml.org/spec/1.1/#flow%20style/information%20model
You can define the style (block or flow) in the DumperOptions.
Original comment by py4fun@gmail.com
on 4 Dec 2009 at 8:18
Original issue reported on code.google.com by
ashish...@gmail.com
on 3 Dec 2009 at 8:55