Namespace: jsonpatch
Classes
Type Aliases
OpObject
Ƭ OpObject: Object
Type declaration
Name | Type |
---|---|
from? | string |
op | string |
path | string |
value? | JSONValue |
Defined in
Functions
apply
▸ apply(ops
, value
): JSONValue
Apply the JSON Patch patch to JSON-like data value.
Parameters
Name | Type | Description |
---|---|---|
ops | OpObject [] | JSON Patch operations following RFC 6902. |
value | JSONValue | The target JSON-like document to patch. |