JSON8 Patch buildRevertPatch demo (original) (raw)

This is a live editor. Editting input or patch will update revert instantly.

input

revert

    `

var applyResult = ooPatch.apply(input, patch, {reversible: true}) revert = ooPatch.buildRevertPatch(applyResult.revert)`