Hello Jerome, Jerome Louvel a écrit : > Hi Laurent, > > In order to have this automatic conversion to XML or JSON happen, you need > to add the "org.restlet.ext.xstream.jar" and *all* its dependencies in your > classpath, including Jettison. The Restlet engine should detect it and > leverage it to convert your Profile objects in both directions, from JSON or > to JSON. Thank you, this was missing, the Jettison dependency, everything seems to work fine.
Regards, Laurent. -- Laurent Rustuel, Alten contractor for Genesys, an Alcatel-Lucent Company ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2403544

