public abstract class MoveOperationBase extends DualPathOperation
BUNDLE, from, op, path
Constructor and Description |
---|
MoveOperationBase(java.lang.String op,
JsonPointer from,
JsonPointer path,
PathMissingPolicy pathMissingPolicy) |
Modifier and Type | Method and Description |
---|---|
JsonNode |
apply(JsonNode node)
Apply this operation to a JSON value
|
serialize, serializeWithType, toString
public MoveOperationBase(java.lang.String op, JsonPointer from, JsonPointer path, PathMissingPolicy pathMissingPolicy)
public JsonNode apply(JsonNode node) throws JsonPatchException
JsonPatchOperation
node
- the value to patchJsonPatchException
- operation failed to apply to this value