JSON PROCESSING 1.1 – SAMPLE [
[
{
{
“op”: “replace”, “path”: “/0/age”, “value”: 28
“name”: “Jason”, “age”: 25, “affiliation”: “Argonauts”
} ]
} ]
new JsonPatch(patch).apply(heroes); new JsonPatchBuilder().replace(“/0/age”, 28).apply(heroes);
12 What’s new in Java EE