YamlDotNet
YamlDotNet copied to clipboard
YamlDotNet is a .NET library for YAML
The YAML 1.2 spec makes minor changes to bring YAML into compliance with JSON as an official subset. My team has started using your YAML library and is interested in...
Let's imagine I have the following class: ```C# class MyClass { IList Values { get; set; } } ``` Given the following yaml file: ```yaml Values: ``` When I deserialize...
As [reported here](https://stackoverflow.com/questions/56447731/issue-serializing-type-tags-from-yamlstream), YamlStream seems to be loosing tag information associated with mappings. A [preliminary investigation](https://dotnetfiddle.net/6Wz73c) indicates that this is related to the `IsCanonical` property of `MappingStart`.
Introduce support for deserializing via annotated constructor call to allow read-only fields and properties. Annotate a constructor with the new `YamlConstructorAttribute` and it will be used in preference to property...
Add `IDeserializer.PopulateObject()` APIs Add `currentValue` parameter to `INodeDeserializer`s and `IValueDeserializer`s Add checks to only create a new instance if `currentValue` is empty Add ways to allow the user to configure...
My take on implementing #311 Not sure how to add tests for it though... PS: Merry Christmas :-)
Shorter description: `.EnsureRoundTrip()` serializers fail to handle `Dictionary` properties nested in other objects, because the check for `IDictionary` happens first and assigns the static type of `object` for both the...
Hello, I am new to YamlDotNet, as everyone uses it, I downloaded and used it from nuget.org. I use the component for loading, modifying and save key values from yml...
I'm currently attempting to validate the deserialized output of a YAML file using YamlDotNet. There's a few types of validation I'd like to be able to do: 1. Verifying property...
Another take at #634