This model represents an individual patch operation to be performed on a JSON document, as defined by RFC 6902.

interface JsonPatchOperation {
    from?: string;
    op: string;
    path: string;
    value?: any;
}

Properties

Properties

from?: string

The JSON Pointer that identifies the field that is the source of the operation.

op: string

The operation to be performed.

path: string

The JSON Pointer that identifies the field that is the target of the operation.

value?: any

The value to be used within the operation.