public final class JsonMergePatchImpl extends Object implements JsonMergePatch
| Constructor and Description |
|---|
JsonMergePatchImpl(JsonValue patch) |
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
apply(JsonValue target)
Applies the JSON Merge Patch to the specified
target. |
JsonValue |
toJsonValue()
Returns the
JsonMergePatch as JsonValue. |
public JsonMergePatchImpl(JsonValue patch)
public JsonValue apply(JsonValue target)
JsonMergePatchtarget.
The target is not modified by the patch.apply in interface JsonMergePatchtarget - the target to apply the merge patchpublic JsonValue toJsonValue()
JsonMergePatchJsonMergePatch as JsonValue.toJsonValue in interface JsonMergePatchJsonMergePatch as JsonValueCopyright © 2025 Oracle. All rights reserved.