Package javax.json

Interface JsonMergePatch

    • Method Detail

      • 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