NuGet Package ASP.NET Web API YAML MediaTypeFormatter

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.

Info

Version: 1.0.0-PreRelease73
Author(s): Richard Slater
Last Update: Tuesday, January 31, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://www.amido.com/labs/yaml-mediatypeformatter
NuGet Url: https://www.nuget.org/packages/Amido.Net.Http.Formatting.YamlMediaTypeFormatter


Install
Install-Package Amido.Net.Http.Formatting.YamlMediaTypeFormatter
dotnet add package Amido.Net.Http.Formatting.YamlMediaTypeFormatter
paket add Amido.Net.Http.Formatting.YamlMediaTypeFormatter
Amido.Net.Http.Formatting.YamlMediaTypeFormatter Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

2.3

avg-downloads-per-day

11

days-since-last-release

1155