oxInnerObject;
     public String name;
 }

 class BoxSerializer implements JsonbSerializer&lt;Box&gt; {
      public void serialize(Box box, JsonGenerator generator, SerializationContext ctx) {
          generator.write("name", box.name);
          ctx.serialize("boxInnerObject", generator);
      }
 }
 </pre></div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JSON Binding 1.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../javax/json/bind/JsonbConfig.html" ti