Implement a resource method using JSON content for a request and response entity.
Configure the JAX-RS application.
RESTful services can consume and produce content using the JSON format.
What to do next: Assemble JAX-RS web applications.
Subtopics
- Use Jackson with plain old Java objects (POJOs)
- Implement a JSON representation of a resource with Jackson and JAXB annotated objects
- Implement a resource method using IBM JSON4J
- Implement a JSON resource method using JAXB annotated objects with IBM JSON4J
Parent
Use JSON content in JAX-RS application requests and responses