Jsonpatch.Operation protocol (Jsonpatch v0.12.0) View Source
The Operation module is responsible for applying patches. For examples see in the available implementation from this library for this protocol:
- Jsonpatch.Operation.Add
- Jsonpatch.Operation.Copy
- Jsonpatch.Operation.Move
- Jsonpatch.Operation.Remove
- Jsonpatch.Operation.Replace
- Jsonpatch.Operation.Test
Link to this section Summary
Functions
Executes the given patch to map/struct.
Link to this section Types
Specs
t() :: term()
Link to this section Functions
Specs
apply_op(Jsonpatch.t(), map() | Jsonpatch.error()) :: map() | Jsonpatch.error()
Executes the given patch to map/struct.