Skip to main content

Namespace: jsonpatch

Classes

Type Aliases

OpObject

Ƭ OpObject: Object

Type declaration

NameType
from?string
opstring
pathstring
value?JSONValue

Defined in

src/patch/patch.ts:10

Functions

apply

apply(ops, value): JSONValue

Apply the JSON Patch patch to JSON-like data value.

Parameters

NameTypeDescription
opsOpObject[]JSON Patch operations following RFC 6902.
valueJSONValueThe target JSON-like document to patch.

Returns

JSONValue

Defined in

src/patch/index.ts:13