Case Sensitivity in deserialized dictionaries #881
-
I am replacing some very YAML code with YamlDotNet. The old code manually reads Yaml into a My first step using YamlDotNet shows that opening up a file like this yields Is there a way to achieve this with some sort of configuration option of the Deserializer? Here is how I load it now.
I see options like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The reason it’s an <object, object> is because the yaml spec does not require the keys to be a string. There’s no option to force that to be a string in the library because of that. |
Beta Was this translation helpful? Give feedback.
-
I should add that my eventual solution to this problem was to create a class that implements |
Beta Was this translation helpful? Give feedback.
The reason it’s an <object, object> is because the yaml spec does not require the keys to be a string. There’s no option to force that to be a string in the library because of that.