Class OmitOperation

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.JsonSerializable, JsonPatchOperation

    public class OmitOperation
    extends OmitOperationBase
    Extended JSON Patch omit operation. The operation will remove the value at path if it exists. It will do nothing if the actual value at path is not equal to value. It will throw a "no such path" error if there is no value at path.
    • Constructor Detail

      • OmitOperation

        public OmitOperation​(com.github.fge.jackson.jsonpointer.JsonPointer path,
                             com.fasterxml.jackson.databind.JsonNode value)