Constructor and Description |
---|
JsonMergePatch() |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
diff(JsonValue source,
JsonValue target)
Generate a JSON Merge Patch from the source and target
JsonValue . |
static JsonValue |
mergePatch(JsonValue target,
JsonValue patch)
Applies the specified patch to the specified target.
|
public static JsonValue mergePatch(JsonValue target, JsonValue patch)
target
- the JsonValue
to apply the patch operationspatch
- the patchJsonValue
as the result of applying the patch
operations on the target.Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : [email protected]