Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 626 Bytes

README.adoc

File metadata and controls

33 lines (24 loc) · 626 Bytes

Jettison Example

Example of using RestEasy with: - Using JSON with RESTEasy - The Jakarta JSON Binding Provider

Building the project:

mvn clean install

Running the project and manually testing it:

mvn wildfly:dev

The data is marshalled to JSON. Use the following curl command to access the JSON data:

$ curl http://localhost:8080/json-binding/library/books

To see an individual book, use the following curl command to access the JSON data:

$ curl http://localhost:8080/json-binding/library/books/9780596158040