A toolkit for using WebAPI and (optionally) EntityFramework to quickly build REST services complying with the JSON API spec (jsonapi.org).

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package JSONAPI -Version 0.2.0
dotnet add package JSONAPI --version 0.2.0
<PackageReference Include="JSONAPI" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JSONAPI --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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!

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.3.0-pre-2 1,274 2/14/2015
0.3.0-pre-1 360 2/12/2015
0.2.1-alpha 388 12/4/2014
0.2.0 2,070 12/1/2014
0.1.0 615 11/20/2014