<h4>add</h4>
<pre>&lt;T extends <a href="../../jakarta/json/JsonStructure.html" title="interface in jakarta.json">JsonStructure</a>&gt;&nbsp;T&nbsp;add(T&nbsp;target,
                                <a href="../../jakarta/json/JsonValue.html" title="interface in jakarta.json">JsonValue</a>&nbsp;value)</pre>
<div class="block">Adds or replaces a value at the referenced location in the specified
 <code>target</code> with the specified <code>value</code>.
 <ol>
 <li>If the reference is the target (empty JSON P