JsonHttp 0.1.0
See the version list below for details.
dotnet add package JsonHttp --version 0.1.0
NuGet\Install-Package JsonHttp -Version 0.1.0
<PackageReference Include="JsonHttp" Version="0.1.0" />
paket add JsonHttp --version 0.1.0
#r "nuget: JsonHttp, 0.1.0"
// Install JsonHttp as a Cake Addin
#addin nuget:?package=JsonHttp&version=0.1.0
// Install JsonHttp as a Cake Tool
#tool nuget:?package=JsonHttp&version=0.1.0
An easy to use library to convert JSON API endpoint results into classes
For example:
WordOfTheDay wotd = await JsonHttp.Get<WordOfTheDay>(new Uri("http://urban-word-of-the-day.herokuapp.com/today"));
You can also add some options:
JsonHttp.Options options = new JsonHttp.Options()
{
AllowAutoRedirect = true,
DefaultRequestHeaders = new Dictionary<string, string>(),
AddMediaTypeWithQualityHeadersJson = true,
UseLocationHeaderForRedirects = true
};
WordOfTheDay wotd = await JsonHttp.Get<WordOfTheDay>(new Uri("http://urban-word-of-the-day.herokuapp.com/today"), options);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
First release