f="Entity.html" title="class in jakarta.ws.rs.client">Entity</a>&lt;T&gt;&nbsp;json&#8203;(T&nbsp;entity)</pre>
<div class="block">Create an <a href="../core/MediaType.html#APPLICATION_JSON">"application/json"</a> entity.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - entity Java type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>entity</code> - entity data.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../core/MediaTyp