title: Use Java records with JSON-B + Jax-RS
body: <p>My project uses JSON-B with JAX-RS. The framework I am using is Quarkus and use Java 11. I tried to upgrade to Java 16 and use Java Records. It seems that JSON-B and Records does not work nicely.</p>
  <p>I have tried @JsonbCreator. But this annotation only works with a single constructor.</p>
  <p>I have also tried to use the Apache Johnzon as shown here (<a href="https://adambien.blog/roller/abien/entry/java_14_java_record_json" rel="nofollow noreferrer">https://adambien.blog/roller/abien/entry/java_14_java_record_json</a>). But Quarkus Resteasy does not have a Johnzon binding.</p>
  <p>Is there a solution that would allow me to switch to Java Records?</p>
  <p>Thanks</p>