YamlDotNet icon indicating copy to clipboard operation
YamlDotNet copied to clipboard

YamlDotNet is a .NET library for YAML

Results 197 YamlDotNet issues
Sort by recently updated
recently updated
newest added

After updating from 15.3.0 to 16.0.0 the deserializer no longer sees private/internal/etc properties even when built with `DeserializerBuilder.IncludeNonPublicProperties()`. ```csharp // Program.cs using YamlDotNet.Serialization; using StreamReader file = new("test.yaml"); var result...

The problem: If a value has control flow characters '[ { (' etc in it, the YamlMember attribute is overridden to force single quoted values. Example value {{ a.b.c }}....

Error parsing `{ foo: &foo bar }` ``` var scanner = new Scanner(new StringReader("{ foo: &foo bar }")); var parser = new Parser(scanner); while (parser.MoveNext()) {} ``` ``` YamlDotNet.Core.SemanticErrorException :...

**I wasn't able to find a similar question that would help me out, so what do I do please?** #### First, here's what I'd like to see happen: - json...

This is a fix for [issue 943](https://github.com/aaubry/YamlDotNet/issues/943) that I reported. The root of the issue is that parsing sometimes surprisingly resulted in negative numbers and there was no way to...

**Describe the bug** Having built a deserializer using the `WithAttemptingUnquotedStringTypeDeserialization` option and using generic `Dictionary` deserialization, hexadecimal values can be converted into a negative value inappropriately. **To Reproduce** The issue...

**Is your feature request related to a problem? Please describe.** I have a usecase for parsing pnpm-lock.yaml files using this library. Unfortunately, PNPM does not really seem to be concerned...

I'm using a library called NSwag which makes use of this library for serializing a yaml file to a json string. I've run into an issue where I have a...

enhancement

Hi, I'm getting the following error when I try to use the package in a `netcoreapp2.1` ``` System.IO.FileLoadException : Could not load file or assembly 'YamlDotNet, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null'. Error...

feedback-needed

```csharp [YamlMember(SerializeAs = typeof(int))] public MyStruct Struct { get; set; } enum MyStruct { None = 0, First = 1 } ``` But the output still ```yaml Struct: None ```

bug