Net. Http. Formatting. YamlMediaTypeFormatter
MediaTypeFormatter allowing the use of YAML (YAML Ain't Markup Language) as a the MIME-Type or content-type in ASP.NET Web API. Both serialization and deserialization are supported allowing web services to both emit and accept YAML in place of XML or JSON.
The underlying YAML parsing and rendering function is provided by Antoine Aubry's excellent YamlDotNet, as such it is possible to configure the serialization and deserialization process through a series of public properties on the MediaTypeFormatter.
YAML 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.
MediaTypeFormatters are .NET Classes that allow you to accept and emit different media types using ASP.NET Web API. Out of the box Web API includes support for JSON, BSON and XML, additional Media Types can be added through MediaTypeFormatters.
YamlMediaTypeFormatter is released under the Apache 2.0 license, which entitles you to freely use the product in both commercial, non-commercial and open source projects provided the license is distributed with the product. YamlDotNet is released under the MIT License which which has similar provisions for use in any type of software.
See the version list below for details.
Install-Package Amido.Net.Http.Formatting.YamlMediaTypeFormatter -Version 1.0.0-PreRelease68
dotnet add package Amido.Net.Http.Formatting.YamlMediaTypeFormatter --version 1.0.0-PreRelease68
<PackageReference Include="Amido.Net.Http.Formatting.YamlMediaTypeFormatter" Version="1.0.0-PreRelease68" />
paket add Amido.Net.Http.Formatting.YamlMediaTypeFormatter --version 1.0.0-PreRelease68
#r "nuget: Amido.Net.Http.Formatting.YamlMediaTypeFormatter, 1.0.0-PreRelease68"
// Install Amido.Net.Http.Formatting.YamlMediaTypeFormatter as a Cake Addin #addin nuget:?package=Amido.Net.Http.Formatting.YamlMediaTypeFormatter&version=1.0.0-PreRelease68&prerelease // Install Amido.Net.Http.Formatting.YamlMediaTypeFormatter as a Cake Tool #tool nuget:?package=Amido.Net.Http.Formatting.YamlMediaTypeFormatter&version=1.0.0-PreRelease68&prerelease
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.