json-view
json-view copied to clipboard
How to integrate with JAX-RS
Hello! Congratulations on the project.
Is there any way to perform JAX-RS integration.
Right now there is no first-class support for JAX-RS the way there is for Spring. The reason for that is JAX-RS is a spec, not a framework. An integration could be written for implementations like Jersey, it just hasn't been yet.
You could use library as-is if you can add the module to the underlying Jackson ObjectMapper. You will have to return JsonView instances from your endpoints though.