You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, a big thanks for this amazing library which is indispensable in my project.
I try to deserialize the following yaml file :
- !damagevalue: 3
- !hello
I succesfully deserialize the "damage" class but the "hello" class is always null after the deserialization.
Also, when i add a new field to my hello class and to my yaml file, the hello class deserializes successfully...
new DeserializerBuilder().WithNamingConvention(UnderscoredNamingConvention.Instance).WithTagMapping("!damage",typeof(Damage)).WithTagMapping("!hello",typeof(Hello)).Build();
Maybe my yaml is incorrect and I can't have a tag without fields. But I still think I need it for my use case because I feel that it is a "cleaner" solution.
The text was updated successfully, but these errors were encountered:
Hello,
First of all, a big thanks for this amazing library which is indispensable in my project.
I try to deserialize the following yaml file :
I succesfully deserialize the "damage" class but the "hello" class is always null after the deserialization.
Also, when i add a new field to my hello class and to my yaml file, the hello class deserializes successfully...
The damage and the hello class :
And my yaml deserializer :
Maybe my yaml is incorrect and I can't have a tag without fields. But I still think I need it for my use case because I feel that it is a "cleaner" solution.
The text was updated successfully, but these errors were encountered: