UcasRichard / snakeyaml

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

Representer must respect the custom tag for a JavaBean property #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Representer.representJavaBeanProperty() is given the wrong tag. Instead of the 
property tag, the tag for the JavaBean itself is provided

Original issue reported on code.google.com by py4fun@gmail.com on 1 Sep 2010 at 12:22

GoogleCodeExporter commented 9 years ago
Fixed.

testEmitWithTags2WithoutTagForParentJavabean() test was added to 
http://code.google.com/p/snakeyaml/source/browse/src/test/java/org/yaml/snakeyam
l/ruby/RubyTest.java 

Original comment by py4fun@gmail.com on 1 Sep 2010 at 12:33