JSON Patch add (or replace) operation.
Below example sets "foo" key of an object to "bar" value:
"bar"
const operation: OperationAdd = { op: 'add', path: '/foo', value: 'bar',}; Copy
const operation: OperationAdd = { op: 'add', path: '/foo', value: 'bar',};
Readonly
JSON Patch add (or replace) operation.
Below example sets "foo" key of an object to
"bar"
value: