YamlDotNet
YamlDotNet copied to clipboard
YamlDotNet is a .NET library for YAML
YDN v8.1.1+ support scanning and parsing of YAML 1.2 documents by the spec. This is indicated in the repo's README. This issue is to track support for YAML 1.2 for...
Is it possible to serialize private properties as well? In the end I want to serialize all properties that have the `YamlMember`. I found this question in variations multiple times...
Hi, I have some YAML files from a 3rd party which I'm reading and converting to JSON to make it easier to process. For a few files on the deserialize...
The `assignAnchors` parameter of `YamlStream.Save` is buggy and should be deprecated. It causes anchors to be assigned to scalars that happen to have the same value (usually mapping keys). This...
The ScalarStyle of a Dictionary is not used for members of the Dictionary. ``` [YamlMember(ScalarStyle = ScalarStyle.DoubleQuoted)] public Dictionary EnvironmentVariables { get; set; } ``` The problem seems to be...
Looking at the SerializerBuilder class this seems to be screaming out for an interface. This would allow for better IoC utilisation, particularly when wanting to mock dependanices for unit testing:...
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 : ```yaml - !damage value:...
Is there a way to get more detailed deserialization errors? When there's a problem with the model I'm trying to deserialize into (e.g., I've defined a property as a string...
``` yaml Literal: |2- ``` This yaml (valid as far as I can tell) causes exception in Scanner.cs due to the following code exceeding the buffer: ``` csharp // Have...
I can't find why when I specify string with leading space in some line it is stored as `DoubleQuoted` instead of `Literal`. Example: ```csharp class Program { static void Main(string[]...