Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 759 Bytes

jsonpatch.md

File metadata and controls

19 lines (14 loc) · 759 Bytes

jsonpatch extension

The jsonpatch extension implements the IETF standard JavaScript Object Notation (JSON) Patch

patch Apply JSON Patch operations to a JSON document.
diff Create a JSON patch from a diff of two JSON documents.

The JSON Patch IETF standard requires that the JSON Patch method is atomic, so that if any JSON Patch operation results in an error, the target document is unchanged. The patch function implements this requirement by generating the inverse commands and building an undo stack, which is executed if any part of the patch fails.