JSON Patch Generator and Tester

Generate RFC 6902 JSON Patch operations or apply a patch array to a JSON document.

This browser-side tool compares two JSON documents and generates a JSON Patch array, or applies an existing patch array to a document. It is designed for API debugging, config reviews and test-fixture work.

Modes

Generate mode compares source and target JSON. Apply mode takes a source JSON document plus a patch array and returns the patched JSON.

Scope

The implementation supports the standard add, remove, replace, move, copy and test operations. It is intentionally local and does not upload your JSON.