users@jersey.java.net

Re: [Jersey] Polymorphic deserialization of JSON?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Sat, 9 May 2009 15:56:07 +0200

ah: I am doing that with XML but I believe it will work with JSON as well..

curl -H "Accept:application/json" -X GET
http://fgaucho.dyndns.org:8080/footprint-service/user/read/2
curl -H "Accept:application/json" -X GET
http://fgaucho.dyndns.org:8080/footprint-service/user/edit/2

* I just never tried to submit data in JSON format, but it should work
as wel....