JsonMergePatchpublic final class JsonMergePatchImpl extends Object implements JsonMergePatch
| Constructor | Description |
|---|---|
JsonMergePatchImpl(JsonValue patch) |
| Modifier and Type | Method | 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 © 2017 Oracle. All rights reserved.