Type Alias JSONPatch

JSONPatch: {
    op: "add" | "remove" | "replace" | "move" | "copy";
    path: string;
    value?: PatchValue;
}[]

Type Declaration

  • op: "add" | "remove" | "replace" | "move" | "copy"

    The patch operation to perform.

  • path: string

    A JSON Pointer (RFC 6901) identifying the field to patch.

  • Optionalvalue?: PatchValue

    The value to use in a JSON Patch operation.