ilmoeuro / snakeyaml

Automatically exported from code.google.com/p/snakeyaml
0 stars 0 forks source link

List or Map of Maps doesn't work in 1.5 #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Create a yaml file (4 lines):

- a:
    b: c
- d:
    e: f

Try to load it with snakeyaml

What is the expected output? What do you see instead?

I expected a List<Map<String, Map<String, String>>> to pop out.

What version of the product are you using? On what operating system?

snakeyaml 1.5
java 1.6

Please provide any additional information below.

It works perfectly fine in http://instantyaml.appspot.com/ and
http://yaml-online-parser.appspot.com/

Original issue reported on code.google.com by ptar...@gmail.com on 7 Jan 2010 at 2:16

GoogleCodeExporter commented 9 years ago
Ignore me... I'm too embarrassed to even admit what I did wrong. Sorry!

Original comment by ptar...@gmail.com on 7 Jan 2010 at 2:24

GoogleCodeExporter commented 9 years ago

Original comment by aso...@gmail.com on 7 Jan 2010 at 8:24