ace in javax.json"><code>JsonPatchBuilder</code></a>.
 </p>
 The following illustrates both approaches.
 <p>1. Construct a JsonPatch with a JSON Patch.
 <pre><code>
   JsonArray contacts = ... // The target to be patched
   JsonArray patch = ...  ; // JSON Patch
   JsonPatch jsonpatch = Json.createPatch(patch);
   JsonArray result = jsonpatch.apply(contacts);
 </code> </pre>
 2. Construct a JsonPatch with JsonPatchBuilder.
 <pre><code>
   JsonPatchBuilder builder = Json.createPatchBuilder();
   JsonArray re