API Reference Jsonpatch v0.12.1
Maps JSON patches between regular Maps and list or a single Jsonpatch.Operation.
The Operation module is responsible for applying patches. For examples see in the available implementation from this library for this protocol
The add operation is the operation for adding values to a map or struct.
Values can be appended to lists by using
- instead of an index.
Represents the handling of JSON patches with a copy operation.
Move operations change the position of values in map or struct.
A JSON patch remove operation is responsible for removing values.
The replace module helps replacing values in maps and structs by paths.
A test operation in a JSON patch prevents the patch application or allows it.
JsonpatchException will be raised if a patch is applied with "!" and the patching fails.