ream.JsonGenerator-">serialize</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
         T&nbsp;object,
         <a href="../../../../jakarta/json/stream/JsonGenerator.html" title="interface in jakarta.json.stream">JsonGenerator</a>&nbsp;generator)</code>
<div class="block">Serializes arbitrary object to JSON, using current <a href="../../../../jakarta/json/stream/JsonGenerator.html" title="inte