JSON Patch

The JSON Patch media type is application/json-patch+json.

A JSON Patch document is structured as a JSON array of objects where each object contains one of the six JSON Patch operations: add, remove, replace, move, copy, and test.

This structure was influenced by the specification of XML patch.

The syntax looks like this:[1][2] There is one operation per object, though there can be many objects/operations in every array.

The operations do the following: This computer-programming-related article is a stub.