public final class JsonMergePatchImpl extends java.lang.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)
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 © 2012-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : jsonp-dev@eclipse.org