{"category":"data","endpoint":"https://setget.net/v1/tools/json-diff","examples":[{"input":{"after":"{\"a\":2,\"b\":[1,2,3]}","before":"{\"a\":1,\"b\":[1,2],\"c\":true}"},"output":{"equal":false,"patch":[{"op":"remove","path":"/c"},{"op":"replace","path":"/a","value":2},{"op":"add","path":"/b/-","value":3}],"summary":{"add":1,"remove":1,"replace":1}}}],"input_schema":{"additionalProperties":false,"properties":{"after":{"description":"The changed JSON.","examples":["{\"a\":2,\"b\":[1,2,3]}"],"type":"string"},"before":{"description":"The original JSON.","examples":["{\"a\":1,\"b\":[1,2],\"c\":true}"],"type":"string"}},"required":["before","after"],"type":"object"},"keywords":["json","diff","compare","difference","patch","rfc 6902","changes"],"related":["json-patch-apply","diff","json-merge-patch"],"slug":"json-diff","summary":"Compare two JSON documents and get the differences as a JSON Patch (RFC 6902).","tier":"inline","title":"JSON diff","url":"https://setget.net/tools/json-diff"}
