Class OmitOptionalOperation

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

    public class OmitOptionalOperation
    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 do nothing if there is no value at path.
    • Constructor Detail

      • OmitOptionalOperation

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