JSON Merge Patch API

API to experiment with JSON Merge Patch. We also have an interactive web tool. Created with ❤️ by Zuplo

BASE URL
https://api.jsonmergepatch.com

Apply Patch

Apply a JSON Merge Patch formatted patch to the JSON uploaded to targetId.

Request Body

Body containing the patch to be applied.

The JSON Merge Patch

required, object

Send the JSON Merge Patch directly in the request body

PATCH
/apply/:targetId
1

Upload JSON

Upload a JSON document to be patched.

Request Body

The JSON to be uploaded.

Your JSON file

object

Send over a small JSON file in the request body.

POST
/upload
1
EXAMPLE BODY
{
  "title": "Hello world",
  "summary": "A simple summary",
  "data": {
    "age": 3
  }
}