Test with:
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"@type":"org.lightcycle.spike.jerseyjsonio.ExampleRequestObject","first":"we","second":"are"}' http://localhost:8080/home/service
Spike for json-io integration with Jersey
Test with:
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"@type":"org.lightcycle.spike.jerseyjsonio.ExampleRequestObject","first":"we","second":"are"}' http://localhost:8080/home/service
Spike for json-io integration with Jersey