ovided.</p>

 <p>Serializers are registered using <a href="../../../../javax/json/bind/JsonbConfig.html#withSerializers-javax.json.bind.serializer.JsonbSerializer...-"><code>JsonbConfig.withSerializers(JsonbSerializer[])</code></a>
 method or using <a href="../../../../javax/json/bind/annotation/JsonbTypeSerializer.html" title="annotation in javax.json.bind.annotation"><code>JsonbTypeSerializer</code></a> annotation on type</p>

 <p>Sample of custom Serializer:</p>
 <pre>
 class Box {
     public BoxInner b