Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
YamlDotNet is a .NET library for YAML
C#

This branch is 245 commits behind aaubry:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.nuget
Dumper
YAMLLanguage
YamlDotNet.Configuration
YamlDotNet.Converters.Test
YamlDotNet.Converters
YamlDotNet.Core.Test
YamlDotNet.Core
YamlDotNet.Dynamic.UnitTests
YamlDotNet.Dynamic
YamlDotNet.RepresentationModel.Test
YamlDotNet.RepresentationModel
YamlDotNet.Samples
YamlDotNetEditor
doc/html
support
.gitignore
CommonAssemblyInfo.cs
LICENSE
LICENSE-libyaml
README.md
VERSION
YamlDotNet.Converters.nuspec
YamlDotNet.Core.nuspec
YamlDotNet.Dynamic.nuspec
YamlDotNet.FxCop
YamlDotNet.RepresentationModel.nuspec
YamlDotNet.build
YamlDotNet.mono.sln
YamlDotNet.shfbproj
YamlDotNet.sln
YamlDotNet.snk

README.md

YamlDotNet

YamlDotNet is a .NET library for YAML. YamlDotNet provides low level parsing and emitting of YAML as well as a high level object model similar to XmlDocument. A serialization library is also included that allows to read and write objects from and to YAML streams.

What is YAML?

YAML, which stands for "YAML Ain't Markup Language", is described as "a human friendly data serialization standard for all programming languages". Like XML, it allows to represent about any kind of data in a portable, platform-independent format. Unlike XML, it is "human friendly", which means that it is easy for a human to read or produce a valid YAML document.

The YamlDotNet library

The library has now been successfully used in multiple projects and is considered fairly stable.

Where to get it?

The most up-to-date version can always be found in the following NuGet packages:

Changelog

Version 2.0.0

  • YamlSerializer has been replaced by the Deserializer class. It offer the same functionality of YamlSerializer but is easier to maintain and extend.

    • Breaking change: DeserializationOverrides is no longer supported. If you need this, please file a bug and we will analyze it.
    • Breaking change: IDeserializationContext is no longer supported. If you need this, please file a bug and we will analyze it.
    • Tag mappings are registered directly on the Deserializer using RegisterTagMapping()
    • ObjectFactory is specified in the constructor, if required.
  • Bug fixes to the Serializer:

    • Fix bug when serializing lists with nulls inside. e9019d5f224f266e88d9882502f83f0c6865ec24
  • Adds a YAML editor add-in for Visual Studio 2012. Available on the Visual Studio Gallery.

Something went wrong with that request. Please try again.