Compare & Diff
JSON Patch
Apply RFC 6902 patch operations to a document and preview the result.
Compare & Diff
Apply RFC 6902 patch operations to a document and preview the result.
Input: JSON + patch array. Output: Patched JSON.
Use the workspace's Sample action to load example data, or paste this input and run the tool. Loading an example is an explicit action.
{"name":"Ada","active":true,"scores":[9,12],"address":{"city":"Pune"}}Patch paths are JSON Pointers. Operations run in sequence, so later indexes depend on earlier changes; failed test operations report an error.
Your source and result are separate. Review transformations before applying them, and download an original copy when preserving exact input matters.
Compare two documents structurally and generate a JSON Patch describing their differences.
Resolve one precise value using RFC 6901 JSON Pointer syntax.
Read practical JSON guides or learn how local processing works.