JSON Patch is a media type developed to take advantage of the HTTP PATCH method. It includes operations such as add
, remove
, replace
, copy
, move
, and test
. Below is a first reaction to reading the specification. Note that the author has not attempted a real implementation of JSON Patch, which would certainly provide a more thorough analysis and different perspective.
- The JSON Patch specification provides an actual media type to use with PATCH. This enables the PATCH method to be usable across client-server implementations. It's a real attempt at solving the partial update problem in Web APIs.
- JSON Patch documents allow shallow and nested object updates.