Package javax.json
Interface JsonMergePatch
public interface JsonMergePatch
A JSON MergePatch as defined in http://tools.ietf.org/html/rfc7396
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionApplies the current JsonMergePatch to the given value
-
Method Details
-
apply
Applies the current JsonMergePatch to the given value- Parameters:
valueToApplyPatchOn
- the base value. Will not get changed itself.- Returns:
- the patched new JsonValue
-
toJsonValue
JsonValue toJsonValue()- Returns:
- the Patch as JsonValue
-