YamlDotNet
YamlDotNet copied to clipboard
YamlDotNet is a .NET library for YAML
Update the line endings across the project to be consistent. # Motivation Some tools complain when dealing with mixed line endings. The project currently has a mix of Windows `\r\n`...
Adds functionality to resolve #712
Adjust `ScalarNodeDeserializer` to allow nullable values in the deserializer in order to eliminate a warning. # Motivation Modern C# nullables will emit warnings when nulls are not accounted for. The...
I'd like to wrap string values in quotes during serialization, if it's possible to do so safely. YamlDotNet is being used to handle configuration files, and one of the biggest...
Hi, I' using version `12.0.0` and have the following YAML: ```yaml on: implicit: explicit: null empty-string: '' ``` During deserialization, the implicit `null` value of `workflow_dispatch` gets interpreted as an...
Here I'm basically trying to fix problems that can be seen in NuGet Package explorer: https://nuget.info/packages/YamlDotNet/15.1.1 . Creating symbols and using deterministic build, including repository readme as package readme as...
I'd like to re-open the problem raised here: https://github.com/aaubry/YamlDotNet/issues/368 The proposed solution with custom tags does basically work, but it has the problem [explained by @rcdailey](https://github.com/aaubry/YamlDotNet/issues/368#issuecomment-1689074678): the `INodeDeserializer.Deserialize` method should...
This draft is to bring up the question of adding Async versions of the Serialize and Deserialize APIs, and all of the complexity that that will entail. This was brought...
Hello again, I've structured my modifications in separate classes under separate namespace (Core/ParsingComments/) - ParserWithComments : Parser - ScannerWithComments : Scanner I've created a common base deserializer, which inherits from...
**Describe the bug** When serializing an object that contains an infinity float, the YAML DotNet serializer in JsonCompatible mode produces a JSON that contains the keyword `.inf` . According to...