JsonMergePatch
public 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)
JsonMergePatch
target
.
The target is not modified by the patch.apply
in interface JsonMergePatch
target
- the target to apply the merge patchpublic JsonValue toJsonValue()
JsonMergePatch
JsonMergePatch
as JsonValue
.toJsonValue
in interface JsonMergePatch
JsonMergePatch
as JsonValue
Copyright © 2017 Oracle. All rights reserved.