Class MoveOp


@Marshalled(typeName="move") public class MoveOp extends JsonPatchOperation
The JSON Patch "move" operation per RFC 6902 § 4.4.

Moves the value at from to path.

  • Constructor Details

    • MoveOp

      public MoveOp()
      Default constructor.
    • MoveOp

      public MoveOp(String path, String from)
      Convenience constructor.
      Parameters:
      path - The JSON Pointer destination. Can be null to leave the property unset.
      from - The JSON Pointer source. Can be null to leave the property unset.
  • Method Details

    • getFrom

      public String getFrom()
      Bean property getter: from.
      Returns:
      The value of the from property, or null if it is not set.
    • setFrom

      public MoveOp setFrom(String value)
      Bean property setter: from.
      Parameters:
      value - The new value for this property. Can be null to unset the property.
      Returns:
      This object.