1 /*
2 * SPDX-FileCopyrightText: Copyright (c) 2013-2025 Yegor Bugayenko
3 * SPDX-License-Identifier: MIT
4 */
5 package com.jcabi.github;
6
7 import com.jcabi.aspects.Immutable;
8 import jakarta.json.JsonObject;
9 import java.io.IOException;
10
11 /**
12 * JSON patchable.
13 * @since 0.4
14 */
15 @Immutable
16 public interface JsonPatchable {
17
18 /**
19 * Patch using this JSON object.
20 * @param json JSON object
21 * @throws IOException If there is any I/O problem
22 */
23 void patch(JsonObject json) throws IOException;
24
25 }