Not sure whether I should post this in Johnzon, CXF or here. 

My colleagues have the following question: 
They would like to have an e.g. @NotNull field in a data structure which gets 
serialised as @Produces(MediaType.APPLICATION_JSON)

Means JAX-RS uses JSON-B for serialisation. Ond of course it should also work 
for @Consumes

Obviously this does _not_ work right now, simply because neither JSON-B nor 
JAX-RS defines any Bean Validation integration, right?

Now my question: where in the stack would it make the most sense to integrate 
it? I assume in JSON-B, isn't?

Any thoughts?


Reply via email to