JsonHttp 0.1.1
See the version list below for details.
dotnet add package JsonHttp --version 0.1.1
NuGet\Install-Package JsonHttp -Version 0.1.1
<PackageReference Include="JsonHttp" Version="0.1.1" />
paket add JsonHttp --version 0.1.1
#r "nuget: JsonHttp, 0.1.1"
// Install JsonHttp as a Cake Addin
#addin nuget:?package=JsonHttp&version=0.1.1
// Install JsonHttp as a Cake Tool
#tool nuget:?package=JsonHttp&version=0.1.1
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. |
-
- Newtonsoft.Json (= 8.0.3)
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