Type Alias JSONPatch

A JSON Patch document as defined in http://tools.ietf.org/html/rfc6902.

type JSONPatch = {
    op: "REPLACE";
    path: string;
    value: string | number | boolean;
}
Index

Properties

Properties

op: "REPLACE"

The operation to be performed.

path: string

A JSON Pointer.

value: string | number | boolean

The value to be used for this operation.