code: public JsonNode apply(final JsonNode node) {
          requireNonNull(node, "node");
          JsonNode ret = node.deepCopy();
          for (final JsonPatchOperation operation : operations) {
              ret = operation.apply(ret);
          }
  
          return ret;
      }
docs: Applies this patch to a JSON value.
  
  @param node the value to apply the patch to
  @return the patched JSON value
  @throws JsonPatchException failed to apply patch
  @throws NullPointerException input is null