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 Type
    Method
    Description
    apply(JsonValue valueToApplyPatchOn)
    Applies the current JsonMergePatch to the given value
     
  • Method Details

    • apply

      JsonValue apply(JsonValue valueToApplyPatchOn)
      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