Hi all, It seems like we should have a new RFE for this. The JAXB road sounds quite interesting to follow as well.
Sanjay or Stephan, could you create a new RFE for this? We could target it for Restlet 1.2. Best regards, Jérôme Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : lundi 18 août 2008 15:30 À : [email protected] Objet : Re: JSON Set with JAXRS Hi Sanjay, (see http://restlet.tigris.org/servlets/BrowseList?list=discuss&by=thread&from=67 1405) you are right, the support for JSON is not realy ready in this implementation. For now I put the returned object into an org.json.JSONObject and its serialization is used. But the results are not good IMO: It calls every getter including Object.getClass(), which is not very useful. I've planned to use another JSON deserialization, but don't know in this moment, which one. - Jersey does it realy good and contains a JAXB provider, which creates JSON instead of XML. Perhaps we could adopt this way. If someone wants to contribute, I'm open for help ... Sanjay, would you share your message body writer? See also http://www.restlet.org/community/contribute best regards Stephan

