Type Alias JSONPatch

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

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

Properties

Properties

op: "replace"

The operation to be performed.

path: string

A JSON Pointer.

value: string | number

The value to be used for this operation.