Amido.Net.Http.Formatting.YamlMediaTypeFormatter
1.0.0-Local
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-Local
dotnet add package Amido.Net.Http.Formatting.YamlMediaTypeFormatter --version 1.0.0-Local
<PackageReference Include="Amido.Net.Http.Formatting.YamlMediaTypeFormatter" Version="1.0.0-Local" />
paket add Amido.Net.Http.Formatting.YamlMediaTypeFormatter --version 1.0.0-Local
#r "nuget: Amido.Net.Http.Formatting.YamlMediaTypeFormatter, 1.0.0-Local"
// Install Amido.Net.Http.Formatting.YamlMediaTypeFormatter as a Cake Addin
#addin nuget:?package=Amido.Net.Http.Formatting.YamlMediaTypeFormatter&version=1.0.0-Local&prerelease
// Install Amido.Net.Http.Formatting.YamlMediaTypeFormatter as a Cake Tool
#tool nuget:?package=Amido.Net.Http.Formatting.YamlMediaTypeFormatter&version=1.0.0-Local&prerelease
Release Notes
Initial Release.
Dependencies
-
.NETFramework 4.0
- Microsoft.AspNet.WebApi.Client (>= 4.0.30506)
- WebActivatorEx (>= 2.0.6)
- YamlDotNet (>= 3.5.1)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.