Marvin.JsonPatch 2.0.0

Json Patch (RFC 6902) support for .NET (Portable)

JSON Patch ( defines a JSON document structure for expressing a sequence of operations to apply to a JavaScript Object Notation (JSON) document; it is suitable for use with the HTTP PATCH method. The "application/json-patch+json" media type is used to identify such patch documents.

One of the things this can be used for is partial updates for REST-ful API's, or, to quote the IETF: "This format is also potentially useful in other cases in which it is necessary to make partial updates to a JSON document or to a data structure that has similar constraints (i.e., they can be serialized as an object or an array using the JSON grammar)."

That's what this package is all about. Web API supports the HttpPatch method, but there's currently no implementation of the JsonPatchDocument in .NET, making it hard to pass in a set of changes that have to be applied - especially if you're working cross-platform and standardization of your API is essential.

Have a look at the project site for the current status of this package and to learn how to get started.

There is a newer version of this package available.
See the version list below for details.
Install-Package Marvin.JsonPatch -Version 2.0.0
dotnet add package Marvin.JsonPatch --version 2.0.0
paket add Marvin.JsonPatch --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Major release with support for dictionaries & numerous bug fixes.

Version History

Version Downloads Last updated
2.1.0 18,383 1/29/2018
2.0.0 (current) 9,240 11/20/2017
1.1.0 19,065 7/4/2017
1.0.0 101,626 9/5/2016
0.9.0 65,750 9/16/2015
0.7.0 5,917 3/2/2015
0.5.1 1,927 2/12/2015
0.3.0 5,338 12/17/2014
0.2.0 4,849 11/5/2014