JSONAPI 0.2.0
See the version list below for details.
dotnet add package JSONAPI --version 0.2.0
NuGet\Install-Package JSONAPI -Version 0.2.0
<PackageReference Include="JSONAPI" Version="0.2.0" />
paket add JSONAPI --version 0.2.0
#r "nuget: JSONAPI, 0.2.0"
// Install JSONAPI as a Cake Addin #addin nuget:?package=JSONAPI&version=0.2.0 // Install JSONAPI as a Cake Tool #tool nuget:?package=JSONAPI&version=0.2.0
A toolkit for using WebAPI and (optionally) EntityFramework to quickly build REST services complying with the JSON API spec (jsonapi.org).
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.OData (>= 5.3.1)
- Microsoft.AspNet.WebApi.WebHost (>= 5.2.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on JSONAPI:
Package | Downloads |
---|---|
JSONAPI.EntityFramework
Entity Framework integration for JSONAPI.NET, including an EntityFrameworkMaterializer and ApiController to highly automate building JSON API web services from EF6+ data models. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.3.0-pre-2 | 22,937 | 2/14/2015 |
0.3.0-pre-1 | 1,167 | 2/12/2015 |
0.2.1-alpha | 1,332 | 12/4/2014 |
0.2.0 | 4,873 | 12/1/2014 |
0.1.0 | 1,803 | 11/20/2014 |
Implemented an important part of the spec, "Attributes omitted from the resource object should not be updated." This requires us to be able to communicate to the IMaterializer (which does actual updating) that attributes were or were not specified on the original JSON resource object. Therefore, we created the new MetadataManager singleton, and its public method PropertyWasPresent(object deserialized, PropertyInfo prop). It is tightly coupled with JsonApiFormatter, but loosely with an IMaterializer such as EntityFrameworkMaterializer.
The ability to check for the presence of a specified value in the JSON also makes it possible to use default values on a POSTed object--before we could not tell if there was underposting going on!