Mause / snakeyaml

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

auto-mapping of object-keys ('no' to 'false' ) #186

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
i try to load a map described in yaml:
urls:
    de:...
    es:...
    no:...

What is the expected output? What do you see instead?
i expect to load a map with the given keys, though "no" will be converted to 
false. this should just happen, if no is a value, right?

What version of SnakeYAML are you using? On what Java version?
1.13 (with spring-framework)

Original issue reported on code.google.com by ptmu...@gmail.com on 28 Jan 2014 at 8:59

GoogleCodeExporter commented 9 years ago
As specified:
http://yaml.org/type/bool.html

Complete list:
http://yaml.org/type/

There is a way to switch it off.

Original comment by py4fun@gmail.com on 28 Jan 2014 at 9:21