Hi Juan Carlos,

I've just done a test with Jackson on Java SE and it automatically
serializes the beans to JSON based on the Accept header. 

Are you sure you deployed the following JARs to GAE?
 - org.restlet.ext.jackson.jar
 - org.codehaus.jackson.core.jar
 - org.codehaus.jackson.mapper.jar

Maybe there is a specific issue on GAE only, but that would be strange. Did
you test on Java SE/Java EE to see if the behavior is different?

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.org
Noelios Technologies ~ http://www.noelios.com


-----Message d'origine-----
De : Juan Carlos Gonzalez [mailto:[email protected]] 
Envoyé : lundi 1 février 2010 13:58
À : [email protected]
Objet : Jackson extension replaces XStream extension?

Hi,

I'm implementing a RESTFul webservice in GAE. I've tried with Restlet 2.0 M6
and XStream, but got several problems. I've upgraded to Restlet 2.0 M7 and
used Jackson extension. My question is related to automatic content
handling, as when using XStream extension I was getting the proper xml/json
depending on the Accept header provided. However this is not working with
Jackson and i'm getting the following warning:
Unable to find a converter for this object :
es.pentasoft.racing.cloud.r...@147e0ba

Thanks in advance,

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=24437
77

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2450046

Reply via email to